// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'get_latest_updates_manga.dart';

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

String _$getLatestUpdatesMangaHash() =>
    r'b4de1c71b935893780b02be6a4fa1980651a833d';

/// Copied from Dart SDK
class _SystemHash {
  _SystemHash._();

  static int combine(int hash, int value) {
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + value);
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
    return hash ^ (hash >> 6);
  }

  static int finish(int hash) {
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3));
    // ignore: parameter_assignments
    hash = hash ^ (hash >> 11);
    return 0x1fffffff & (hash + ((0x00003fff & hash) << 15));
  }
}

typedef GetLatestUpdatesMangaRef
    = AutoDisposeFutureProviderRef<List<MangaModel?>>;

/// See also [getLatestUpdatesManga].
@ProviderFor(getLatestUpdatesManga)
const getLatestUpdatesMangaProvider = GetLatestUpdatesMangaFamily();

/// See also [getLatestUpdatesManga].
class GetLatestUpdatesMangaFamily
    extends Family<AsyncValue<List<MangaModel?>>> {
  /// See also [getLatestUpdatesManga].
  const GetLatestUpdatesMangaFamily();

  /// See also [getLatestUpdatesManga].
  GetLatestUpdatesMangaProvider call({
    required Source source,
    required int page,
  }) {
    return GetLatestUpdatesMangaProvider(
      source: source,
      page: page,
    );
  }

  @override
  GetLatestUpdatesMangaProvider getProviderOverride(
    covariant GetLatestUpdatesMangaProvider provider,
  ) {
    return call(
      source: provider.source,
      page: provider.page,
    );
  }

  static const Iterable<ProviderOrFamily>? _dependencies = null;

  @override
  Iterable<ProviderOrFamily>? get dependencies => _dependencies;

  static const Iterable<ProviderOrFamily>? _allTransitiveDependencies = null;

  @override
  Iterable<ProviderOrFamily>? get allTransitiveDependencies =>
      _allTransitiveDependencies;

  @override
  String? get name => r'getLatestUpdatesMangaProvider';
}

/// See also [getLatestUpdatesManga].
class GetLatestUpdatesMangaProvider
    extends AutoDisposeFutureProvider<List<MangaModel?>> {
  /// See also [getLatestUpdatesManga].
  GetLatestUpdatesMangaProvider({
    required this.source,
    required this.page,
  }) : super.internal(
          (ref) => getLatestUpdatesManga(
            ref,
            source: source,
            page: page,
          ),
          from: getLatestUpdatesMangaProvider,
          name: r'getLatestUpdatesMangaProvider',
          debugGetCreateSourceHash:
              const bool.fromEnvironment('dart.vm.product')
                  ? null
                  : _$getLatestUpdatesMangaHash,
          dependencies: GetLatestUpdatesMangaFamily._dependencies,
          allTransitiveDependencies:
              GetLatestUpdatesMangaFamily._allTransitiveDependencies,
        );

  final Source source;
  final int page;

  @override
  bool operator ==(Object other) {
    return other is GetLatestUpdatesMangaProvider &&
        other.source == source &&
        other.page == page;
  }

  @override
  int get hashCode {
    var hash = _SystemHash.combine(0, runtimeType.hashCode);
    hash = _SystemHash.combine(hash, source.hashCode);
    hash = _SystemHash.combine(hash, page.hashCode);

    return _SystemHash.finish(hash);
  }
}
// ignore_for_file: type=lint
// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member
