store static method
model's store on this device, ready to use.
Implementation
static Future<DVOfflineStore> store(String model) =>
_stores[model] ??= () async {
final DVOfflineStore Function(DVDatabaseAdapter)? build =
_builders[model];
if (build == null) {
throw StateError('$model is not a registered offline data model');
}
final DVOfflineStore store = build(await _open());
await store.ensureSchema();
return store;
}();