getInstance static method

Future<SharedKeyRepository> getInstance()

Implementation

static Future<SharedKeyRepository> getInstance() async {
  return SharedKeyRepository(await openDatabase(
    '${await getDatabasesPath()}/shared_keys_database.db',
    onCreate: _createTables,
    version: 1,
  ));
}