delete method
- OsmLocation osmLocation
Deletes the OsmLocation that matches the key.
Implementation
Future<int> delete(OsmLocation osmLocation) async =>
localDatabase.database.delete(
_table,
where: '$_columnId = ? AND $_columnType = ?',
whereArgs: <Object>[osmLocation.osmId, osmLocation.osmType.offTag],
);