removeModel method
Implementation
Future<void> removeModel(String modelId) async {
dynamic model = _all.remove(modelId);
if (model != null) {
await _removeFromIndex(model);
}
await Database.removeModel(getId(), modelId);
await change(CollectionChangeType.delete, model);
}