// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'update_manga_detail_providers.dart';

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

String _$updateMangaDetailHash() => r'0d87713f3a9ea3c6d792086eab56596f533beef7';

/// 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 UpdateMangaDetailRef = AutoDisposeFutureProviderRef<dynamic>;

/// See also [updateMangaDetail].
@ProviderFor(updateMangaDetail)
const updateMangaDetailProvider = UpdateMangaDetailFamily();

/// See also [updateMangaDetail].
class UpdateMangaDetailFamily extends Family<AsyncValue<dynamic>> {
  /// See also [updateMangaDetail].
  const UpdateMangaDetailFamily();

  /// See also [updateMangaDetail].
  UpdateMangaDetailProvider call({
    required int? mangaId,
    required bool isInit,
  }) {
    return UpdateMangaDetailProvider(
      mangaId: mangaId,
      isInit: isInit,
    );
  }

  @override
  UpdateMangaDetailProvider getProviderOverride(
    covariant UpdateMangaDetailProvider provider,
  ) {
    return call(
      mangaId: provider.mangaId,
      isInit: provider.isInit,
    );
  }

  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'updateMangaDetailProvider';
}

/// See also [updateMangaDetail].
class UpdateMangaDetailProvider extends AutoDisposeFutureProvider<dynamic> {
  /// See also [updateMangaDetail].
  UpdateMangaDetailProvider({
    required this.mangaId,
    required this.isInit,
  }) : super.internal(
          (ref) => updateMangaDetail(
            ref,
            mangaId: mangaId,
            isInit: isInit,
          ),
          from: updateMangaDetailProvider,
          name: r'updateMangaDetailProvider',
          debugGetCreateSourceHash:
              const bool.fromEnvironment('dart.vm.product')
                  ? null
                  : _$updateMangaDetailHash,
          dependencies: UpdateMangaDetailFamily._dependencies,
          allTransitiveDependencies:
              UpdateMangaDetailFamily._allTransitiveDependencies,
        );

  final int? mangaId;
  final bool isInit;

  @override
  bool operator ==(Object other) {
    return other is UpdateMangaDetailProvider &&
        other.mangaId == mangaId &&
        other.isInit == isInit;
  }

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

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