of static method
Used to fetch persisted data anywhere across the app. Results in null if data is not yet loaded.
Implementation
static PersistedData? of(BuildContext context) => snapshot(context)?.data;
Used to fetch persisted data anywhere across the app. Results in null if data is not yet loaded.
static PersistedData? of(BuildContext context) => snapshot(context)?.data;