dropTable method

Future<void> dropTable({
  1. required String tableName,
})

Implementation

Future<void> dropTable({required String tableName }) async {
  try {
    if(_database.isOpen){
      await _database.rawQuery('DROP TABLE $tableName');
    }
  } catch (ex) {
    Log.e("$_TAG: dropTable Exception: ", ex.toString());
  }
}