tryPush method
Future<DatumEither<DatumError, T> >
tryPush({
- required T item,
- required String userId,
- DataSource source = DataSource.local,
- bool forceRemoteSync = false,
Non-throwing variant of push.
Implementation
Future<DatumEither<DatumError, T>> tryPush({
required T item,
required String userId,
DataSource source = DataSource.local,
bool forceRemoteSync = false,
}) =>
_guard(() => push(
item: item,
userId: userId,
source: source,
forceRemoteSync: forceRemoteSync,
));