load static method
Implementation
static Future<PersistedData> load(PersistedStateStorage storage, Duration saveTimeout) async {
return PersistedData._(
storage,
await storage.load().catchError((e, st) {
FlutterError.reportError(FlutterErrorDetails(
exception: e,
stack: st,
library: 'state_persistence',
silent: true,
));
}),
saveTimeout,
);
}