clearDataBase method Null safety

Future<void> clearDataBase()

Implementation

Future<void> clearDataBase() async {
  final Database db = await _databaseFuture;
  await db.delete(_table);
}