loadFromUrl static method

Future<WasmSqlite3> loadFromUrl(
  1. Uri uri, {
  2. Map<String, String>? headers,
  3. WasmModuleLoader? loader,
})

Loads a web version of the sqlite3 libraries.

The native wasm library for sqlite3 is loaded from the uri with the desired headers through a fetch request.

Implementation

static Future<WasmSqlite3> loadFromUrl(
  Uri uri, {
  Map<String, String>? headers,
  WasmModuleLoader? loader,
}) {
  return loadFromUrlString(uri.toString());
}