open method

  1. @override
Future<Database> open()

Implementation

@override
Future<Database> open() async {
  sqfliteFfiInit();

  var databaseFactory = databaseFactoryFfi;
  return databaseFactory.openDatabase(
    await getDbFullName(),
    options: SqfliteOpenDatabaseOptions(
      onCreate: onDbCreate,
      onUpgrade: onDbUpgrade,
      onDowngrade: onDbDowngrade,
      version: dbVersion,
    ),
  );
}