delete method

Future<int> delete(
  1. 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],
    );