// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'points_history_provider.dart';

// **************************************************************************
// RiverpodGenerator
// **************************************************************************

// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint, type=warning
/// Points History Filter Provider

@ProviderFor(PointsHistoryFilterNotifier)
const pointsHistoryFilterProvider = PointsHistoryFilterNotifierProvider._();

/// Points History Filter Provider
final class PointsHistoryFilterNotifierProvider
    extends
        $NotifierProvider<PointsHistoryFilterNotifier, PointsHistoryFilter> {
  /// Points History Filter Provider
  const PointsHistoryFilterNotifierProvider._()
    : super(
        from: null,
        argument: null,
        retry: null,
        name: r'pointsHistoryFilterProvider',
        isAutoDispose: true,
        dependencies: null,
        $allTransitiveDependencies: null,
      );

  @override
  String debugGetCreateSourceHash() => _$pointsHistoryFilterNotifierHash();

  @$internal
  @override
  PointsHistoryFilterNotifier create() => PointsHistoryFilterNotifier();

  /// {@macro riverpod.override_with_value}
  Override overrideWithValue(PointsHistoryFilter value) {
    return $ProviderOverride(
      origin: this,
      providerOverride: $SyncValueProvider<PointsHistoryFilter>(value),
    );
  }
}

String _$pointsHistoryFilterNotifierHash() =>
    r'ef2587f4461c9488d9b15ed033e1d362042795f8';

/// Points History Filter Provider

abstract class _$PointsHistoryFilterNotifier
    extends $Notifier<PointsHistoryFilter> {
  PointsHistoryFilter build();
  @$mustCallSuper
  @override
  void runBuild() {
    final created = build();
    final ref = this.ref as $Ref<PointsHistoryFilter, PointsHistoryFilter>;
    final element =
        ref.element
            as $ClassProviderElement<
              AnyNotifier<PointsHistoryFilter, PointsHistoryFilter>,
              PointsHistoryFilter,
              Object?,
              Object?
            >;
    element.handleValue(ref, created);
  }
}

/// Points History Local Data Source Provider

@ProviderFor(pointsHistoryLocalDataSource)
const pointsHistoryLocalDataSourceProvider =
    PointsHistoryLocalDataSourceProvider._();

/// Points History Local Data Source Provider

final class PointsHistoryLocalDataSourceProvider
    extends
        $FunctionalProvider<
          PointsHistoryLocalDataSource,
          PointsHistoryLocalDataSource,
          PointsHistoryLocalDataSource
        >
    with $Provider<PointsHistoryLocalDataSource> {
  /// Points History Local Data Source Provider
  const PointsHistoryLocalDataSourceProvider._()
    : super(
        from: null,
        argument: null,
        retry: null,
        name: r'pointsHistoryLocalDataSourceProvider',
        isAutoDispose: true,
        dependencies: null,
        $allTransitiveDependencies: null,
      );

  @override
  String debugGetCreateSourceHash() => _$pointsHistoryLocalDataSourceHash();

  @$internal
  @override
  $ProviderElement<PointsHistoryLocalDataSource> $createElement(
    $ProviderPointer pointer,
  ) => $ProviderElement(pointer);

  @override
  PointsHistoryLocalDataSource create(Ref ref) {
    return pointsHistoryLocalDataSource(ref);
  }

  /// {@macro riverpod.override_with_value}
  Override overrideWithValue(PointsHistoryLocalDataSource value) {
    return $ProviderOverride(
      origin: this,
      providerOverride: $SyncValueProvider<PointsHistoryLocalDataSource>(value),
    );
  }
}

String _$pointsHistoryLocalDataSourceHash() =>
    r'324e4d6d12e0f1ec3f77de8e0fd60f69eaa8c7ce';

/// Points History Provider
///
/// Provides list of all points history entries from local data source.

@ProviderFor(PointsHistory)
const pointsHistoryProvider = PointsHistoryProvider._();

/// Points History Provider
///
/// Provides list of all points history entries from local data source.
final class PointsHistoryProvider
    extends
        $AsyncNotifierProvider<PointsHistory, List<LoyaltyPointEntryModel>> {
  /// Points History Provider
  ///
  /// Provides list of all points history entries from local data source.
  const PointsHistoryProvider._()
    : super(
        from: null,
        argument: null,
        retry: null,
        name: r'pointsHistoryProvider',
        isAutoDispose: true,
        dependencies: null,
        $allTransitiveDependencies: null,
      );

  @override
  String debugGetCreateSourceHash() => _$pointsHistoryHash();

  @$internal
  @override
  PointsHistory create() => PointsHistory();
}

String _$pointsHistoryHash() => r'e812d6f6707f02c15a1263ae5b5ee912f269358d';

/// Points History Provider
///
/// Provides list of all points history entries from local data source.

abstract class _$PointsHistory
    extends $AsyncNotifier<List<LoyaltyPointEntryModel>> {
  FutureOr<List<LoyaltyPointEntryModel>> build();
  @$mustCallSuper
  @override
  void runBuild() {
    final created = build();
    final ref =
        this.ref
            as $Ref<
              AsyncValue<List<LoyaltyPointEntryModel>>,
              List<LoyaltyPointEntryModel>
            >;
    final element =
        ref.element
            as $ClassProviderElement<
              AnyNotifier<
                AsyncValue<List<LoyaltyPointEntryModel>>,
                List<LoyaltyPointEntryModel>
              >,
              AsyncValue<List<LoyaltyPointEntryModel>>,
              Object?,
              Object?
            >;
    element.handleValue(ref, created);
  }
}

/// Filtered Points History Provider

@ProviderFor(filteredPointsHistory)
const filteredPointsHistoryProvider = FilteredPointsHistoryProvider._();

/// Filtered Points History Provider

final class FilteredPointsHistoryProvider
    extends
        $FunctionalProvider<
          AsyncValue<List<LoyaltyPointEntryModel>>,
          List<LoyaltyPointEntryModel>,
          FutureOr<List<LoyaltyPointEntryModel>>
        >
    with
        $FutureModifier<List<LoyaltyPointEntryModel>>,
        $FutureProvider<List<LoyaltyPointEntryModel>> {
  /// Filtered Points History Provider
  const FilteredPointsHistoryProvider._()
    : super(
        from: null,
        argument: null,
        retry: null,
        name: r'filteredPointsHistoryProvider',
        isAutoDispose: true,
        dependencies: null,
        $allTransitiveDependencies: null,
      );

  @override
  String debugGetCreateSourceHash() => _$filteredPointsHistoryHash();

  @$internal
  @override
  $FutureProviderElement<List<LoyaltyPointEntryModel>> $createElement(
    $ProviderPointer pointer,
  ) => $FutureProviderElement(pointer);

  @override
  FutureOr<List<LoyaltyPointEntryModel>> create(Ref ref) {
    return filteredPointsHistory(ref);
  }
}

String _$filteredPointsHistoryHash() =>
    r'989e2bf824eeb161b44b67d9ee81b713444a6e87';
