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