saveManyLocal method
Future<List<String> ?>
saveManyLocal(
- Iterable<
DataModelMixin< models, {DataModelMixin> > - bool notify = true,
- bool async = true,
inherited
Implementation
Future<List<String>?> saveManyLocal(Iterable<DataModelMixin> models,
{bool notify = true, bool async = true}) async {
final savedKeys = async
? await runInIsolate(
(adapter) => adapter._saveManyLocal(adapter, models))
: _saveManyLocal(this as Adapter, models);
if (async) {
if (notify) {
core._notify(savedKeys, type: DataGraphEventType.updateNode);
return null;
}
}
return savedKeys;
}