registerWith static method

void registerWith(
  1. Registrar registrar
)

Implementation

static void registerWith(Registrar registrar) {
  LibsimpleFlutterPlatform.instance = LibsimpleFlutterWeb();
  if (document.querySelector('#sqlite3script') == null) {
    //developing hot reload will do this multi times
    var sqlite3script = document.createElement('script');
    sqlite3script.textContent = script;
    sqlite3script.id = 'sqlite3script';
    document.querySelector("head")?.append(sqlite3script);
  }
}