findAllModelsOfType<T extends BaseModel> method
This functions finds all models of the given type that have their
BaseModel.id start with the prefix given by the supplier
s
BaseModelIDExtension.prefixTypeForId
Implementation
FutureOr<Iterable<T>> findAllModelsOfType<T extends BaseModel>(
T Function() supplier,
) =>
database.findAllModelsOfType(databaseName, supplier);