containsRows<T extends BaseModel> method
Returns true if the table/container in databaseName contains any data with same type provided by supplier
Implementation
FutureOr<bool> containsRows<T extends BaseModel>(
T Function() supplier,
) async =>
(await database.findAllModelsOfType(databaseName, supplier)).isNotEmpty;