tryRead method
Non-throwing variant of read. Returns Success(null) when the entity is
simply absent, and Failure only on an actual error (storage, network…).
Implementation
Future<DatumEither<DatumError, T?>> tryRead(
String id, {
String? userId,
List<String> withRelated = const [],
}) =>
_guard(() => read(id, userId: userId, withRelated: withRelated));