mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-22 04:31:57 +00:00
114 lines
3.2 KiB
Dart
114 lines
3.2 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'fetch_manga_sources.dart';
|
|
|
|
// **************************************************************************
|
|
// RiverpodGenerator
|
|
// **************************************************************************
|
|
|
|
String _$fetchMangaSourcesListHash() =>
|
|
r'5a17379eb08d01c945d9f307361f3dad40140ff0';
|
|
|
|
/// 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 FetchMangaSourcesListRef = AutoDisposeFutureProviderRef<dynamic>;
|
|
|
|
/// See also [fetchMangaSourcesList].
|
|
@ProviderFor(fetchMangaSourcesList)
|
|
const fetchMangaSourcesListProvider = FetchMangaSourcesListFamily();
|
|
|
|
/// See also [fetchMangaSourcesList].
|
|
class FetchMangaSourcesListFamily extends Family<AsyncValue<dynamic>> {
|
|
/// See also [fetchMangaSourcesList].
|
|
const FetchMangaSourcesListFamily();
|
|
|
|
/// See also [fetchMangaSourcesList].
|
|
FetchMangaSourcesListProvider call({
|
|
int? id,
|
|
}) {
|
|
return FetchMangaSourcesListProvider(
|
|
id: id,
|
|
);
|
|
}
|
|
|
|
@override
|
|
FetchMangaSourcesListProvider getProviderOverride(
|
|
covariant FetchMangaSourcesListProvider provider,
|
|
) {
|
|
return call(
|
|
id: provider.id,
|
|
);
|
|
}
|
|
|
|
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'fetchMangaSourcesListProvider';
|
|
}
|
|
|
|
/// See also [fetchMangaSourcesList].
|
|
class FetchMangaSourcesListProvider extends AutoDisposeFutureProvider<dynamic> {
|
|
/// See also [fetchMangaSourcesList].
|
|
FetchMangaSourcesListProvider({
|
|
this.id,
|
|
}) : super.internal(
|
|
(ref) => fetchMangaSourcesList(
|
|
ref,
|
|
id: id,
|
|
),
|
|
from: fetchMangaSourcesListProvider,
|
|
name: r'fetchMangaSourcesListProvider',
|
|
debugGetCreateSourceHash:
|
|
const bool.fromEnvironment('dart.vm.product')
|
|
? null
|
|
: _$fetchMangaSourcesListHash,
|
|
dependencies: FetchMangaSourcesListFamily._dependencies,
|
|
allTransitiveDependencies:
|
|
FetchMangaSourcesListFamily._allTransitiveDependencies,
|
|
);
|
|
|
|
final int? id;
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
return other is FetchMangaSourcesListProvider && other.id == id;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
var hash = _SystemHash.combine(0, runtimeType.hashCode);
|
|
hash = _SystemHash.combine(hash, id.hashCode);
|
|
|
|
return _SystemHash.finish(hash);
|
|
}
|
|
}
|
|
// ignore_for_file: type=lint
|
|
// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member
|