deleteDataWithFileName static method

Future<int> deleteDataWithFileName(
  1. ScanModel model
)

Implementation

static Future<int> deleteDataWithFileName(ScanModel model) async {
  int result = await database!
      .rawDelete('DELETE FROM lesntec_scans WHERE id = ?', [model.id]);

  return result;
}