// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'price_documents_provider.dart';

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

// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint, type=warning
/// Provider for local data source

@ProviderFor(pricePolicyLocalDataSource)
const pricePolicyLocalDataSourceProvider =
    PricePolicyLocalDataSourceProvider._();

/// Provider for local data source

final class PricePolicyLocalDataSourceProvider
    extends
        $FunctionalProvider<
          PricePolicyLocalDataSource,
          PricePolicyLocalDataSource,
          PricePolicyLocalDataSource
        >
    with $Provider<PricePolicyLocalDataSource> {
  /// Provider for local data source
  const PricePolicyLocalDataSourceProvider._()
    : super(
        from: null,
        argument: null,
        retry: null,
        name: r'pricePolicyLocalDataSourceProvider',
        isAutoDispose: true,
        dependencies: null,
        $allTransitiveDependencies: null,
      );

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

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

  @override
  PricePolicyLocalDataSource create(Ref ref) {
    return pricePolicyLocalDataSource(ref);
  }

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

String _$pricePolicyLocalDataSourceHash() =>
    r'dd1bee761fa7f050835508cf33bf34a788829483';

/// Provider for price policy repository

@ProviderFor(pricePolicyRepository)
const pricePolicyRepositoryProvider = PricePolicyRepositoryProvider._();

/// Provider for price policy repository

final class PricePolicyRepositoryProvider
    extends
        $FunctionalProvider<
          PricePolicyRepository,
          PricePolicyRepository,
          PricePolicyRepository
        >
    with $Provider<PricePolicyRepository> {
  /// Provider for price policy repository
  const PricePolicyRepositoryProvider._()
    : super(
        from: null,
        argument: null,
        retry: null,
        name: r'pricePolicyRepositoryProvider',
        isAutoDispose: true,
        dependencies: null,
        $allTransitiveDependencies: null,
      );

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

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

  @override
  PricePolicyRepository create(Ref ref) {
    return pricePolicyRepository(ref);
  }

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

String _$pricePolicyRepositoryHash() =>
    r'296555a45936d8e43a28bf5add5e7db40495009c';

/// Provider for all price policy documents

@ProviderFor(priceDocuments)
const priceDocumentsProvider = PriceDocumentsProvider._();

/// Provider for all price policy documents

final class PriceDocumentsProvider
    extends
        $FunctionalProvider<
          AsyncValue<List<PriceDocument>>,
          List<PriceDocument>,
          FutureOr<List<PriceDocument>>
        >
    with
        $FutureModifier<List<PriceDocument>>,
        $FutureProvider<List<PriceDocument>> {
  /// Provider for all price policy documents
  const PriceDocumentsProvider._()
    : super(
        from: null,
        argument: null,
        retry: null,
        name: r'priceDocumentsProvider',
        isAutoDispose: true,
        dependencies: null,
        $allTransitiveDependencies: null,
      );

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

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

  @override
  FutureOr<List<PriceDocument>> create(Ref ref) {
    return priceDocuments(ref);
  }
}

String _$priceDocumentsHash() => r'cf2ccf6bd9aaae0c56ab01529fd034a090d99263';

/// Provider for filtered documents by category

@ProviderFor(filteredPriceDocuments)
const filteredPriceDocumentsProvider = FilteredPriceDocumentsFamily._();

/// Provider for filtered documents by category

final class FilteredPriceDocumentsProvider
    extends
        $FunctionalProvider<
          AsyncValue<List<PriceDocument>>,
          List<PriceDocument>,
          FutureOr<List<PriceDocument>>
        >
    with
        $FutureModifier<List<PriceDocument>>,
        $FutureProvider<List<PriceDocument>> {
  /// Provider for filtered documents by category
  const FilteredPriceDocumentsProvider._({
    required FilteredPriceDocumentsFamily super.from,
    required DocumentCategory super.argument,
  }) : super(
         retry: null,
         name: r'filteredPriceDocumentsProvider',
         isAutoDispose: true,
         dependencies: null,
         $allTransitiveDependencies: null,
       );

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

  @override
  String toString() {
    return r'filteredPriceDocumentsProvider'
        ''
        '($argument)';
  }

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

  @override
  FutureOr<List<PriceDocument>> create(Ref ref) {
    final argument = this.argument as DocumentCategory;
    return filteredPriceDocuments(ref, argument);
  }

  @override
  bool operator ==(Object other) {
    return other is FilteredPriceDocumentsProvider &&
        other.argument == argument;
  }

  @override
  int get hashCode {
    return argument.hashCode;
  }
}

String _$filteredPriceDocumentsHash() =>
    r'8f5b2ed822694b4dd9523e1a61e202a7ba0c1fbc';

/// Provider for filtered documents by category

final class FilteredPriceDocumentsFamily extends $Family
    with
        $FunctionalFamilyOverride<
          FutureOr<List<PriceDocument>>,
          DocumentCategory
        > {
  const FilteredPriceDocumentsFamily._()
    : super(
        retry: null,
        name: r'filteredPriceDocumentsProvider',
        dependencies: null,
        $allTransitiveDependencies: null,
        isAutoDispose: true,
      );

  /// Provider for filtered documents by category

  FilteredPriceDocumentsProvider call(DocumentCategory category) =>
      FilteredPriceDocumentsProvider._(argument: category, from: this);

  @override
  String toString() => r'filteredPriceDocumentsProvider';
}
