// GENERATED CODE - DO NOT MODIFY BY HAND part of 'providers.dart'; // ************************************************************************** // RiverpodGenerator // ************************************************************************** // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint, type=warning @ProviderFor(pushService) final pushServiceProvider = PushServiceProvider._(); final class PushServiceProvider extends $FunctionalProvider< GeckoPushService, GeckoPushService, GeckoPushService > with $Provider { PushServiceProvider._() : super( from: null, argument: null, retry: null, name: r'pushServiceProvider', isAutoDispose: false, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$pushServiceHash(); @$internal @override $ProviderElement $createElement($ProviderPointer pointer) => $ProviderElement(pointer); @override GeckoPushService create(Ref ref) { return pushService(ref); } /// {@macro riverpod.override_with_value} Override overrideWithValue(GeckoPushService value) { return $ProviderOverride( origin: this, providerOverride: $SyncValueProvider(value), ); } } String _$pushServiceHash() => r'762a7893d6f0520cda6f566bdd1ac1679156286d'; /// Current distributor selection and availability. /// /// Re-reads native state whenever the distributor acknowledges registration or /// is uninstalled, so a distributor removed while this screen is open does not /// leave a stale "configured" reading on screen. /// /// The native event stream is subscribed to *before* the initial snapshot is /// requested: `statusChanges` does not replay, so a PENDING → READY transition /// landing between the two would otherwise be lost and leave the screen stale. /// If an event wins that race the snapshot is discarded rather than emitted /// after it, since the snapshot is by then the older value. @ProviderFor(pushStatus) final pushStatusProvider = PushStatusProvider._(); /// Current distributor selection and availability. /// /// Re-reads native state whenever the distributor acknowledges registration or /// is uninstalled, so a distributor removed while this screen is open does not /// leave a stale "configured" reading on screen. /// /// The native event stream is subscribed to *before* the initial snapshot is /// requested: `statusChanges` does not replay, so a PENDING → READY transition /// landing between the two would otherwise be lost and leave the screen stale. /// If an event wins that race the snapshot is discarded rather than emitted /// after it, since the snapshot is by then the older value. final class PushStatusProvider extends $FunctionalProvider< AsyncValue, PushStatus, Stream > with $FutureModifier, $StreamProvider { /// Current distributor selection and availability. /// /// Re-reads native state whenever the distributor acknowledges registration or /// is uninstalled, so a distributor removed while this screen is open does not /// leave a stale "configured" reading on screen. /// /// The native event stream is subscribed to *before* the initial snapshot is /// requested: `statusChanges` does not replay, so a PENDING → READY transition /// landing between the two would otherwise be lost and leave the screen stale. /// If an event wins that race the snapshot is discarded rather than emitted /// after it, since the snapshot is by then the older value. PushStatusProvider._() : super( from: null, argument: null, retry: null, name: r'pushStatusProvider', isAutoDispose: true, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$pushStatusHash(); @$internal @override $StreamProviderElement $createElement($ProviderPointer pointer) => $StreamProviderElement(pointer); @override Stream create(Ref ref) { return pushStatus(ref); } } String _$pushStatusHash() => r'406cf2a28628d5e5456758afc961cafb8c938b6e'; /// Subscriptions Gecko has created, keyed by site origin. /// /// Read-only: Gecko owns subscription state and exposes no revocation channel /// to the app, so entries disappear only when the site itself unsubscribes or /// its notification permission is revoked. /// /// Refetches only when [pushStatusProvider] emits (distributor change, endpoint /// assigned, registration failure). There is no event for a subscription that is /// created but still awaiting an endpoint, so such an entry only appears the next /// time this provider is rebuilt — e.g. when the screen is reopened. @ProviderFor(pushSubscriptions) final pushSubscriptionsProvider = PushSubscriptionsProvider._(); /// Subscriptions Gecko has created, keyed by site origin. /// /// Read-only: Gecko owns subscription state and exposes no revocation channel /// to the app, so entries disappear only when the site itself unsubscribes or /// its notification permission is revoked. /// /// Refetches only when [pushStatusProvider] emits (distributor change, endpoint /// assigned, registration failure). There is no event for a subscription that is /// created but still awaiting an endpoint, so such an entry only appears the next /// time this provider is rebuilt — e.g. when the screen is reopened. final class PushSubscriptionsProvider extends $FunctionalProvider< AsyncValue>, List, FutureOr> > with $FutureModifier>, $FutureProvider> { /// Subscriptions Gecko has created, keyed by site origin. /// /// Read-only: Gecko owns subscription state and exposes no revocation channel /// to the app, so entries disappear only when the site itself unsubscribes or /// its notification permission is revoked. /// /// Refetches only when [pushStatusProvider] emits (distributor change, endpoint /// assigned, registration failure). There is no event for a subscription that is /// created but still awaiting an endpoint, so such an entry only appears the next /// time this provider is rebuilt — e.g. when the screen is reopened. PushSubscriptionsProvider._() : super( from: null, argument: null, retry: null, name: r'pushSubscriptionsProvider', isAutoDispose: true, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$pushSubscriptionsHash(); @$internal @override $FutureProviderElement> $createElement( $ProviderPointer pointer, ) => $FutureProviderElement(pointer); @override FutureOr> create(Ref ref) { return pushSubscriptions(ref); } } String _$pushSubscriptionsHash() => r'bebbaf964fbd48ddf56cf69af4a1d44a74e0f288'; @ProviderFor(PushDistributorMutation) final pushDistributorMutationProvider = PushDistributorMutationProvider._(); final class PushDistributorMutationProvider extends $AsyncNotifierProvider { PushDistributorMutationProvider._() : super( from: null, argument: null, retry: null, name: r'pushDistributorMutationProvider', isAutoDispose: true, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$pushDistributorMutationHash(); @$internal @override PushDistributorMutation create() => PushDistributorMutation(); } String _$pushDistributorMutationHash() => r'58e489179c2e1fdaf6d8a6bd3b758ec16641358c'; abstract class _$PushDistributorMutation extends $AsyncNotifier { FutureOr build(); @$mustCallSuper @override WhenComplete runBuild() { final ref = this.ref as $Ref, void>; final element = ref.element as $ClassProviderElement< AnyNotifier, void>, AsyncValue, Object?, Object? >; return element.handleCreate(ref, build); } } @ProviderFor(notificationPermissionService) final notificationPermissionServiceProvider = NotificationPermissionServiceProvider._(); final class NotificationPermissionServiceProvider extends $FunctionalProvider< NotificationPermissionService, NotificationPermissionService, NotificationPermissionService > with $Provider { NotificationPermissionServiceProvider._() : super( from: null, argument: null, retry: null, name: r'notificationPermissionServiceProvider', isAutoDispose: false, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$notificationPermissionServiceHash(); @$internal @override $ProviderElement $createElement( $ProviderPointer pointer, ) => $ProviderElement(pointer); @override NotificationPermissionService create(Ref ref) { return notificationPermissionService(ref); } /// {@macro riverpod.override_with_value} Override overrideWithValue(NotificationPermissionService value) { return $ProviderOverride( origin: this, providerOverride: $SyncValueProvider( value, ), ); } } String _$notificationPermissionServiceHash() => r'f6c55f04ace1145f0925adc73c3a13b93a3afea1'; /// Whether the OS-level notification permission is granted. Without it a push /// message still arrives but Gecko cannot display the resulting notification. @ProviderFor(notificationPermissionGranted) final notificationPermissionGrantedProvider = NotificationPermissionGrantedProvider._(); /// Whether the OS-level notification permission is granted. Without it a push /// message still arrives but Gecko cannot display the resulting notification. final class NotificationPermissionGrantedProvider extends $FunctionalProvider, bool, FutureOr> with $FutureModifier, $FutureProvider { /// Whether the OS-level notification permission is granted. Without it a push /// message still arrives but Gecko cannot display the resulting notification. NotificationPermissionGrantedProvider._() : super( from: null, argument: null, retry: null, name: r'notificationPermissionGrantedProvider', isAutoDispose: true, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$notificationPermissionGrantedHash(); @$internal @override $FutureProviderElement $createElement($ProviderPointer pointer) => $FutureProviderElement(pointer); @override FutureOr create(Ref ref) { return notificationPermissionGranted(ref); } } String _$notificationPermissionGrantedHash() => r'3344fb6996f7577cddb5c1dc24ae262f2724750e';