removeModelById method
Implementation
Future<bool> removeModelById(String id) async {
if (!await CacheHandler.removeCacheObjectFromList(getCacheId(), id, "id")) {
return false;
}
if (_models.containsKey(id)) {
_models.remove(id);
}
return true;
}