update info
This commit is contained in:
@@ -0,0 +1,180 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'cart_data_providers.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// RiverpodGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
// ignore_for_file: type=lint, type=warning
|
||||
/// Cart Local DataSource Provider
|
||||
///
|
||||
/// Provides instance of CartLocalDataSource.
|
||||
/// keepAlive: true to persist with cart provider.
|
||||
|
||||
@ProviderFor(cartLocalDataSource)
|
||||
const cartLocalDataSourceProvider = CartLocalDataSourceProvider._();
|
||||
|
||||
/// Cart Local DataSource Provider
|
||||
///
|
||||
/// Provides instance of CartLocalDataSource.
|
||||
/// keepAlive: true to persist with cart provider.
|
||||
|
||||
final class CartLocalDataSourceProvider
|
||||
extends
|
||||
$FunctionalProvider<
|
||||
CartLocalDataSource,
|
||||
CartLocalDataSource,
|
||||
CartLocalDataSource
|
||||
>
|
||||
with $Provider<CartLocalDataSource> {
|
||||
/// Cart Local DataSource Provider
|
||||
///
|
||||
/// Provides instance of CartLocalDataSource.
|
||||
/// keepAlive: true to persist with cart provider.
|
||||
const CartLocalDataSourceProvider._()
|
||||
: super(
|
||||
from: null,
|
||||
argument: null,
|
||||
retry: null,
|
||||
name: r'cartLocalDataSourceProvider',
|
||||
isAutoDispose: false,
|
||||
dependencies: null,
|
||||
$allTransitiveDependencies: null,
|
||||
);
|
||||
|
||||
@override
|
||||
String debugGetCreateSourceHash() => _$cartLocalDataSourceHash();
|
||||
|
||||
@$internal
|
||||
@override
|
||||
$ProviderElement<CartLocalDataSource> $createElement(
|
||||
$ProviderPointer pointer,
|
||||
) => $ProviderElement(pointer);
|
||||
|
||||
@override
|
||||
CartLocalDataSource create(Ref ref) {
|
||||
return cartLocalDataSource(ref);
|
||||
}
|
||||
|
||||
/// {@macro riverpod.override_with_value}
|
||||
Override overrideWithValue(CartLocalDataSource value) {
|
||||
return $ProviderOverride(
|
||||
origin: this,
|
||||
providerOverride: $SyncValueProvider<CartLocalDataSource>(value),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
String _$cartLocalDataSourceHash() =>
|
||||
r'81a8c1688dff786d4ecebbd8239ae1c8174008c0';
|
||||
|
||||
/// Cart Remote DataSource Provider
|
||||
///
|
||||
/// Provides instance of CartRemoteDataSource with DioClient.
|
||||
/// keepAlive: true to persist with cart provider.
|
||||
|
||||
@ProviderFor(cartRemoteDataSource)
|
||||
const cartRemoteDataSourceProvider = CartRemoteDataSourceProvider._();
|
||||
|
||||
/// Cart Remote DataSource Provider
|
||||
///
|
||||
/// Provides instance of CartRemoteDataSource with DioClient.
|
||||
/// keepAlive: true to persist with cart provider.
|
||||
|
||||
final class CartRemoteDataSourceProvider
|
||||
extends
|
||||
$FunctionalProvider<
|
||||
AsyncValue<CartRemoteDataSource>,
|
||||
CartRemoteDataSource,
|
||||
FutureOr<CartRemoteDataSource>
|
||||
>
|
||||
with
|
||||
$FutureModifier<CartRemoteDataSource>,
|
||||
$FutureProvider<CartRemoteDataSource> {
|
||||
/// Cart Remote DataSource Provider
|
||||
///
|
||||
/// Provides instance of CartRemoteDataSource with DioClient.
|
||||
/// keepAlive: true to persist with cart provider.
|
||||
const CartRemoteDataSourceProvider._()
|
||||
: super(
|
||||
from: null,
|
||||
argument: null,
|
||||
retry: null,
|
||||
name: r'cartRemoteDataSourceProvider',
|
||||
isAutoDispose: false,
|
||||
dependencies: null,
|
||||
$allTransitiveDependencies: null,
|
||||
);
|
||||
|
||||
@override
|
||||
String debugGetCreateSourceHash() => _$cartRemoteDataSourceHash();
|
||||
|
||||
@$internal
|
||||
@override
|
||||
$FutureProviderElement<CartRemoteDataSource> $createElement(
|
||||
$ProviderPointer pointer,
|
||||
) => $FutureProviderElement(pointer);
|
||||
|
||||
@override
|
||||
FutureOr<CartRemoteDataSource> create(Ref ref) {
|
||||
return cartRemoteDataSource(ref);
|
||||
}
|
||||
}
|
||||
|
||||
String _$cartRemoteDataSourceHash() =>
|
||||
r'758905224c472f1e088c3be7c7451c2321959bd8';
|
||||
|
||||
/// Cart Repository Provider
|
||||
///
|
||||
/// Provides instance of CartRepository implementation.
|
||||
/// keepAlive: true to persist with cart provider.
|
||||
|
||||
@ProviderFor(cartRepository)
|
||||
const cartRepositoryProvider = CartRepositoryProvider._();
|
||||
|
||||
/// Cart Repository Provider
|
||||
///
|
||||
/// Provides instance of CartRepository implementation.
|
||||
/// keepAlive: true to persist with cart provider.
|
||||
|
||||
final class CartRepositoryProvider
|
||||
extends
|
||||
$FunctionalProvider<
|
||||
AsyncValue<CartRepository>,
|
||||
CartRepository,
|
||||
FutureOr<CartRepository>
|
||||
>
|
||||
with $FutureModifier<CartRepository>, $FutureProvider<CartRepository> {
|
||||
/// Cart Repository Provider
|
||||
///
|
||||
/// Provides instance of CartRepository implementation.
|
||||
/// keepAlive: true to persist with cart provider.
|
||||
const CartRepositoryProvider._()
|
||||
: super(
|
||||
from: null,
|
||||
argument: null,
|
||||
retry: null,
|
||||
name: r'cartRepositoryProvider',
|
||||
isAutoDispose: false,
|
||||
dependencies: null,
|
||||
$allTransitiveDependencies: null,
|
||||
);
|
||||
|
||||
@override
|
||||
String debugGetCreateSourceHash() => _$cartRepositoryHash();
|
||||
|
||||
@$internal
|
||||
@override
|
||||
$FutureProviderElement<CartRepository> $createElement(
|
||||
$ProviderPointer pointer,
|
||||
) => $FutureProviderElement(pointer);
|
||||
|
||||
@override
|
||||
FutureOr<CartRepository> create(Ref ref) {
|
||||
return cartRepository(ref);
|
||||
}
|
||||
}
|
||||
|
||||
String _$cartRepositoryHash() => r'f6bbe5ab247737887e6b51f7ca8050bb6898ac2a';
|
||||
Reference in New Issue
Block a user