deleteTable method Null safety

dynamic deleteTable(
  1. String tableName
)

Deletes the table with tableName from the database

Implementation

deleteTable(String tableName) async {
  final sql = 'DROP TABLE $tableName;';
  await db.execute(sql);
  schema.remove(tableName);
}