openUnderlying method

  1. @visibleForOverriding
CommonDatabase openUnderlying(
  1. WasmSqlite3 sqlite3,
  2. String path,
  3. String vfs,
  4. JSAny? additionalData,
)

Opens a database with the sqlite3 package that will be wrapped in a ThrottledCommonDatabase for openDatabase.

Implementation

@visibleForOverriding
CommonDatabase openUnderlying(
  WasmSqlite3 sqlite3,
  String path,
  String vfs,
  JSAny? additionalData,
) {
  return sqlite3.open(path, vfs: vfs);
}