Files
App/lib/screens/notification.g.dart
2025-12-06 13:00:30 +08:00

58 lines
1.7 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'notification.dart';
// **************************************************************************
// RiverpodGenerator
// **************************************************************************
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint, type=warning
@ProviderFor(NotificationUnreadCountNotifier)
const notificationUnreadCountProvider =
NotificationUnreadCountNotifierProvider._();
final class NotificationUnreadCountNotifierProvider
extends $AsyncNotifierProvider<NotificationUnreadCountNotifier, int> {
const NotificationUnreadCountNotifierProvider._()
: super(
from: null,
argument: null,
retry: null,
name: r'notificationUnreadCountProvider',
isAutoDispose: true,
dependencies: null,
$allTransitiveDependencies: null,
);
@override
String debugGetCreateSourceHash() => _$notificationUnreadCountNotifierHash();
@$internal
@override
NotificationUnreadCountNotifier create() => NotificationUnreadCountNotifier();
}
String _$notificationUnreadCountNotifierHash() =>
r'8bff5ad3b65389589b4112add3246afd9b8e38f9';
abstract class _$NotificationUnreadCountNotifier extends $AsyncNotifier<int> {
FutureOr<int> build();
@$mustCallSuper
@override
void runBuild() {
final created = build();
final ref = this.ref as $Ref<AsyncValue<int>, int>;
final element =
ref.element
as $ClassProviderElement<
AnyNotifier<AsyncValue<int>, int>,
AsyncValue<int>,
Object?,
Object?
>;
element.handleValue(ref, created);
}
}