trySaveMany method
Future<DatumEither<DatumError, List<T> > >
trySaveMany({
- required List<
T> items, - required String userId,
- bool andSync = false,
- DataSource source = DataSource.local,
- bool forceRemoteSync = false,
- DatumSyncOptions<
T> ? syncOptions, - DatumSyncScope? scope,
Non-throwing variant of saveMany.
Implementation
Future<DatumEither<DatumError, List<T>>> trySaveMany({
required List<T> items,
required String userId,
bool andSync = false,
DataSource source = DataSource.local,
bool forceRemoteSync = false,
DatumSyncOptions<T>? syncOptions,
DatumSyncScope? scope,
}) =>
_guard(() => saveMany(
items: items,
userId: userId,
andSync: andSync,
source: source,
forceRemoteSync: forceRemoteSync,
syncOptions: syncOptions,
scope: scope,
));