init static method

Future<void> init({
  1. RustLibApi? api,
  2. BaseHandler? handler,
  3. ExternalLibrary? externalLibrary,
})

Initialize flutter_rust_bridge

Implementation

static Future<void> init({
  RustLibApi? api,
  BaseHandler? handler,
  ExternalLibrary? externalLibrary,
}) async {
  await instance.initImpl(
    api: api,
    handler: handler,
    externalLibrary: externalLibrary,
  );
}