getRecord method

Future<RType?> getRecord(
  1. KType recordId
)

Implementation

Future<RType?> getRecord(KType recordId) async {
  if (recordId == null) {
    log.warning("Null recordId passed for $RType");
    return null;
  }
  final s = _getOrCreateStream(recordId);
  final got = await s.get();
  return got;
}