// 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 price policy repository

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

/// Provider for price policy repository

final class PricePolicyRepositoryProvider
    extends
        $FunctionalProvider<
          AsyncValue<PricePolicyRepository>,
          PricePolicyRepository,
          FutureOr<PricePolicyRepository>
        >
    with
        $FutureModifier<PricePolicyRepository>,
        $FutureProvider<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
  $FutureProviderElement<PricePolicyRepository> $createElement(
    $ProviderPointer pointer,
  ) => $FutureProviderElement(pointer);

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

String _$pricePolicyRepositoryHash() =>
    r'35aa21067e77bbb6b91dd29c4772b1c6707be116';

/// 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'dffe292742776681c22d0ccdb3e091491290057d';

/// Provider for filtered documents by category with file path management

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

/// Provider for filtered documents by category with file path management
final class FilteredPriceDocumentsProvider
    extends
        $AsyncNotifierProvider<FilteredPriceDocuments, List<PriceDocument>> {
  /// Provider for filtered documents by category with file path management
  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
  FilteredPriceDocuments create() => FilteredPriceDocuments();

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

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

String _$filteredPriceDocumentsHash() =>
    r'c06d858ed1027d6408c4b70c29f47a4c4c9eb21c';

/// Provider for filtered documents by category with file path management

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

  /// Provider for filtered documents by category with file path management

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

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

/// Provider for filtered documents by category with file path management

abstract class _$FilteredPriceDocuments
    extends $AsyncNotifier<List<PriceDocument>> {
  late final _$args = ref.$arg as DocumentCategory;
  DocumentCategory get category => _$args;

  FutureOr<List<PriceDocument>> build(DocumentCategory category);
  @$mustCallSuper
  @override
  void runBuild() {
    final created = build(_$args);
    final ref =
        this.ref as $Ref<AsyncValue<List<PriceDocument>>, List<PriceDocument>>;
    final element =
        ref.element
            as $ClassProviderElement<
              AnyNotifier<AsyncValue<List<PriceDocument>>, List<PriceDocument>>,
              AsyncValue<List<PriceDocument>>,
              Object?,
              Object?
            >;
    element.handleValue(ref, created);
  }
}
