125 lines
3.7 KiB
Dart
125 lines
3.7 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'get_latest_updates_manga.dart';
|
|
|
|
// **************************************************************************
|
|
// RiverpodGenerator
|
|
// **************************************************************************
|
|
|
|
String _$getLatestUpdatesMangaHash() =>
|
|
r'6ad1f68ce7a320c661817e5d5ff1bbf8d68b3948';
|
|
|
|
/// 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: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions
|