byID<T> static method

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

Implementation

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