deleteAllNotes method

Future<int?> deleteAllNotes()

Implementation

Future<int?> deleteAllNotes() async {
  final db = await database;
  return await db?.delete('notes');
}