deleteModel<T extends BaseModel> method
Deletes the T
model
in databaseName. model
doesn not need to be
exactly the same, just have the same id.
Implementation
FutureOr<bool> deleteModel<T extends BaseModel>(T model) =>
database.deleteModel(databaseName, model);