getDatabase method

Future<Database?> getDatabase()

Implementation

Future<Database?> getDatabase() async {
  await ensureDatabase();
  return _db;
}