getDb method

Future<Database> getDb()

Implementation

Future<Database> getDb() {
  _db ??= databaseFactory.openDatabase(databaseName);

  return _db!;
}