mirror of
https://github.com/lucavenir/go_router_riverpod.git
synced 2025-08-06 14:59:53 +08:00
48 lines
1.6 KiB
Dart
48 lines
1.6 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'auth.dart';
|
|
|
|
// **************************************************************************
|
|
// RiverpodGenerator
|
|
// **************************************************************************
|
|
|
|
// ignore_for_file: avoid_private_typedef_functions, non_constant_identifier_names, subtype_of_sealed_class, invalid_use_of_internal_member, unused_element, constant_identifier_names, unnecessary_raw_strings, library_private_types_in_public_api
|
|
|
|
/// 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));
|
|
}
|
|
}
|
|
|
|
String $AuthNotifierHash() => r'587998753a879e6c3f8912f3913c0e2ea5eb1b14';
|
|
|
|
/// See also [AuthNotifier].
|
|
final authNotifierProvider =
|
|
AutoDisposeAsyncNotifierProvider<AuthNotifier, User>(
|
|
AuthNotifier.new,
|
|
name: r'authNotifierProvider',
|
|
debugGetCreateSourceHash:
|
|
const bool.fromEnvironment('dart.vm.product') ? null : $AuthNotifierHash,
|
|
);
|
|
typedef AuthNotifierRef = AutoDisposeAsyncNotifierProviderRef<User>;
|
|
|
|
abstract class _$AuthNotifier extends AutoDisposeAsyncNotifier<User> {
|
|
@override
|
|
FutureOr<User> build();
|
|
}
|