live<R> method

  1. @override
Stream<Response<UserEntity>> live<R>(
  1. String id, {
  2. R? source(
    1. R parent
    )?,
})
override

Implementation

@override
Stream<Response<UserEntity>> live<R>(
  String id, {
  R? Function(R parent)? source,
}) {
  try {
    return repository.live(id, source);
  } catch (_) {
    return Stream.error("$_");
  }
}