// GENERATED CODE - DO NOT MODIFY BY HAND part of 'workout_session_controller.dart'; // ************************************************************************** // RiverpodGenerator // ************************************************************************** String _$workoutSessionControllerHash() => r'ba4c44e3bc2de98cced4eef96f8a337fd1e43665'; /// 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 _$WorkoutSessionController extends BuildlessAutoDisposeAsyncNotifier { late final String planId; FutureOr build(String planId); } /// See also [WorkoutSessionController]. @ProviderFor(WorkoutSessionController) const workoutSessionControllerProvider = WorkoutSessionControllerFamily(); /// See also [WorkoutSessionController]. class WorkoutSessionControllerFamily extends Family> { /// See also [WorkoutSessionController]. const WorkoutSessionControllerFamily(); /// See also [WorkoutSessionController]. WorkoutSessionControllerProvider call(String planId) { return WorkoutSessionControllerProvider(planId); } @override WorkoutSessionControllerProvider getProviderOverride( covariant WorkoutSessionControllerProvider provider, ) { return call(provider.planId); } 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'workoutSessionControllerProvider'; } /// See also [WorkoutSessionController]. class WorkoutSessionControllerProvider extends AutoDisposeAsyncNotifierProviderImpl< WorkoutSessionController, WorkoutSessionState > { /// See also [WorkoutSessionController]. WorkoutSessionControllerProvider(String planId) : this._internal( () => WorkoutSessionController()..planId = planId, from: workoutSessionControllerProvider, name: r'workoutSessionControllerProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$workoutSessionControllerHash, dependencies: WorkoutSessionControllerFamily._dependencies, allTransitiveDependencies: WorkoutSessionControllerFamily._allTransitiveDependencies, planId: planId, ); WorkoutSessionControllerProvider._internal( super._createNotifier, { required super.name, required super.dependencies, required super.allTransitiveDependencies, required super.debugGetCreateSourceHash, required super.from, required this.planId, }) : super.internal(); final String planId; @override FutureOr runNotifierBuild( covariant WorkoutSessionController notifier, ) { return notifier.build(planId); } @override Override overrideWith(WorkoutSessionController Function() create) { return ProviderOverride( origin: this, override: WorkoutSessionControllerProvider._internal( () => create()..planId = planId, from: from, name: null, dependencies: null, allTransitiveDependencies: null, debugGetCreateSourceHash: null, planId: planId, ), ); } @override AutoDisposeAsyncNotifierProviderElement< WorkoutSessionController, WorkoutSessionState > createElement() { return _WorkoutSessionControllerProviderElement(this); } @override bool operator ==(Object other) { return other is WorkoutSessionControllerProvider && other.planId == planId; } @override int get hashCode { var hash = _SystemHash.combine(0, runtimeType.hashCode); hash = _SystemHash.combine(hash, planId.hashCode); return _SystemHash.finish(hash); } } @Deprecated('Will be removed in 3.0. Use Ref instead') // ignore: unused_element mixin WorkoutSessionControllerRef on AutoDisposeAsyncNotifierProviderRef { /// The parameter `planId` of this provider. String get planId; } class _WorkoutSessionControllerProviderElement extends AutoDisposeAsyncNotifierProviderElement< WorkoutSessionController, WorkoutSessionState > with WorkoutSessionControllerRef { _WorkoutSessionControllerProviderElement(super.provider); @override String get planId => (origin as WorkoutSessionControllerProvider).planId; } // ignore_for_file: type=lint // ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package