findAllModelsOfType<T extends BaseModel> abstract method

FutureOr<Iterable<T>> findAllModelsOfType<T extends BaseModel>(
  1. String database,
  2. T supplier()
)

This functions finds all models of the given type that have their BaseModel.id start with the prefix given by the suppliers BaseModelIDExtension.prefixTypeForId

Implementation

FutureOr<Iterable<T>> findAllModelsOfType<T extends BaseModel>(
  String database,
  T Function() supplier,
);