tryReadAll method

Future<DatumEither<DatumError, List<T>>> tryReadAll({
  1. String? userId,
  2. List<String> withRelated = const [],
})

Non-throwing variant of readAll.

Implementation

Future<DatumEither<DatumError, List<T>>> tryReadAll({
  String? userId,
  List<String> withRelated = const [],
}) =>
    _guard(() => readAll(userId: userId, withRelated: withRelated));