initial commit
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'dashboard_summary_provider.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// RiverpodGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
// ignore_for_file: type=lint, type=warning
|
||||
/// Polled every 20s while the Dashboard is mounted — deliberately its own
|
||||
/// notifier rather than watching `servicesListProvider`/`currentNodeProvider`
|
||||
/// directly, so Dashboard auto-refreshes independent of whether the
|
||||
/// Services screen (manual-refresh only) happens to be open too.
|
||||
|
||||
@ProviderFor(DashboardSummaryNotifier)
|
||||
const dashboardSummaryProvider = DashboardSummaryNotifierProvider._();
|
||||
|
||||
/// Polled every 20s while the Dashboard is mounted — deliberately its own
|
||||
/// notifier rather than watching `servicesListProvider`/`currentNodeProvider`
|
||||
/// directly, so Dashboard auto-refreshes independent of whether the
|
||||
/// Services screen (manual-refresh only) happens to be open too.
|
||||
final class DashboardSummaryNotifierProvider
|
||||
extends $AsyncNotifierProvider<DashboardSummaryNotifier, DashboardSummary> {
|
||||
/// Polled every 20s while the Dashboard is mounted — deliberately its own
|
||||
/// notifier rather than watching `servicesListProvider`/`currentNodeProvider`
|
||||
/// directly, so Dashboard auto-refreshes independent of whether the
|
||||
/// Services screen (manual-refresh only) happens to be open too.
|
||||
const DashboardSummaryNotifierProvider._()
|
||||
: super(
|
||||
from: null,
|
||||
argument: null,
|
||||
retry: null,
|
||||
name: r'dashboardSummaryProvider',
|
||||
isAutoDispose: true,
|
||||
dependencies: null,
|
||||
$allTransitiveDependencies: null,
|
||||
);
|
||||
|
||||
@override
|
||||
String debugGetCreateSourceHash() => _$dashboardSummaryNotifierHash();
|
||||
|
||||
@$internal
|
||||
@override
|
||||
DashboardSummaryNotifier create() => DashboardSummaryNotifier();
|
||||
}
|
||||
|
||||
String _$dashboardSummaryNotifierHash() =>
|
||||
r'807d0df3c8b7ce9652ae56fdba542b108aa99456';
|
||||
|
||||
/// Polled every 20s while the Dashboard is mounted — deliberately its own
|
||||
/// notifier rather than watching `servicesListProvider`/`currentNodeProvider`
|
||||
/// directly, so Dashboard auto-refreshes independent of whether the
|
||||
/// Services screen (manual-refresh only) happens to be open too.
|
||||
|
||||
abstract class _$DashboardSummaryNotifier
|
||||
extends $AsyncNotifier<DashboardSummary> {
|
||||
FutureOr<DashboardSummary> build();
|
||||
@$mustCallSuper
|
||||
@override
|
||||
void runBuild() {
|
||||
final created = build();
|
||||
final ref =
|
||||
this.ref as $Ref<AsyncValue<DashboardSummary>, DashboardSummary>;
|
||||
final element =
|
||||
ref.element
|
||||
as $ClassProviderElement<
|
||||
AnyNotifier<AsyncValue<DashboardSummary>, DashboardSummary>,
|
||||
AsyncValue<DashboardSummary>,
|
||||
Object?,
|
||||
Object?
|
||||
>;
|
||||
element.handleValue(ref, created);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user