// GENERATED CODE - DO NOT MODIFY BY HAND part of 'reader_controller_provider.dart'; // ************************************************************************** // RiverpodGenerator // ************************************************************************** String _$currentIndexHash() => r'c2b912af925d9efd3e36e7a810914ef11393c1da'; /// 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)); } } abstract class _$CurrentIndex extends BuildlessAutoDisposeNotifier { late final Chapter chapter; int build( Chapter chapter, ); } /// See also [CurrentIndex]. @ProviderFor(CurrentIndex) const currentIndexProvider = CurrentIndexFamily(); /// See also [CurrentIndex]. class CurrentIndexFamily extends Family { /// See also [CurrentIndex]. const CurrentIndexFamily(); /// See also [CurrentIndex]. CurrentIndexProvider call( Chapter chapter, ) { return CurrentIndexProvider( chapter, ); } @override CurrentIndexProvider getProviderOverride( covariant CurrentIndexProvider provider, ) { return call( provider.chapter, ); } static const Iterable? _dependencies = null; @override Iterable? get dependencies => _dependencies; static const Iterable? _allTransitiveDependencies = null; @override Iterable? get allTransitiveDependencies => _allTransitiveDependencies; @override String? get name => r'currentIndexProvider'; } /// See also [CurrentIndex]. class CurrentIndexProvider extends AutoDisposeNotifierProviderImpl { /// See also [CurrentIndex]. CurrentIndexProvider( this.chapter, ) : super.internal( () => CurrentIndex()..chapter = chapter, from: currentIndexProvider, name: r'currentIndexProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$currentIndexHash, dependencies: CurrentIndexFamily._dependencies, allTransitiveDependencies: CurrentIndexFamily._allTransitiveDependencies, ); final Chapter chapter; @override bool operator ==(Object other) { return other is CurrentIndexProvider && other.chapter == chapter; } @override int get hashCode { var hash = _SystemHash.combine(0, runtimeType.hashCode); hash = _SystemHash.combine(hash, chapter.hashCode); return _SystemHash.finish(hash); } @override int runNotifierBuild( covariant CurrentIndex notifier, ) { return notifier.build( chapter, ); } } String _$readerControllerHash() => r'65ce80e436f72efffea6ba9b1b6f87be702b79cd'; abstract class _$ReaderController extends BuildlessAutoDisposeNotifier { late final Chapter chapter; void build({ required Chapter chapter, }); } /// See also [ReaderController]. @ProviderFor(ReaderController) const readerControllerProvider = ReaderControllerFamily(); /// See also [ReaderController]. class ReaderControllerFamily extends Family { /// See also [ReaderController]. const ReaderControllerFamily(); /// See also [ReaderController]. ReaderControllerProvider call({ required Chapter chapter, }) { return ReaderControllerProvider( chapter: chapter, ); } @override ReaderControllerProvider getProviderOverride( covariant ReaderControllerProvider provider, ) { return call( chapter: provider.chapter, ); } static const Iterable? _dependencies = null; @override Iterable? get dependencies => _dependencies; static const Iterable? _allTransitiveDependencies = null; @override Iterable? get allTransitiveDependencies => _allTransitiveDependencies; @override String? get name => r'readerControllerProvider'; } /// See also [ReaderController]. class ReaderControllerProvider extends AutoDisposeNotifierProviderImpl { /// See also [ReaderController]. ReaderControllerProvider({ required this.chapter, }) : super.internal( () => ReaderController()..chapter = chapter, from: readerControllerProvider, name: r'readerControllerProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$readerControllerHash, dependencies: ReaderControllerFamily._dependencies, allTransitiveDependencies: ReaderControllerFamily._allTransitiveDependencies, ); final Chapter chapter; @override bool operator ==(Object other) { return other is ReaderControllerProvider && other.chapter == chapter; } @override int get hashCode { var hash = _SystemHash.combine(0, runtimeType.hashCode); hash = _SystemHash.combine(hash, chapter.hashCode); return _SystemHash.finish(hash); } @override void runNotifierBuild( covariant ReaderController notifier, ) { return notifier.build( chapter: chapter, ); } } // 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