Files
venir.dev 599b66417b Implemented some corrections / optimizations
To follow best practices is very important to me
2022-12-30 21:01:55 +01:00

50 lines
1.7 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'9897db452b43403755ac7852256c19e5aa363c91';
/// This notifier holds and handles the authentication state of the application
///
/// Copied from [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();
}