removeToDB method
Implementation
Future<void> removeToDB(String mid) async {
try {
//await HycopFactory.dataBase!.removeData(collectionId, mid);
await HycopFactory.dataBase!.removeModel(collectionId, mid);
} catch (e) {
logger.severe('databaseError', e);
throw HycopException(message: 'databaseError', exception: e as Exception);
}
}