byID<T> static method

DataReceiver<T>? byID<T>(
  1. String? id
)
override

Implementation

static DataReceiver<T>? byID<T>(String? id) {
  if (id == null) return null;
  var instance = instances[id];
  instance ??= DataRepository.byID(id);
  return instance as DataReceiver<T>?;
}