initMock static method

void initMock({
  1. required RustLibApi api,
})

Initialize flutter_rust_bridge in mock mode. No libraries for FFI are loaded.

Implementation

static void initMock({
  required RustLibApi api,
}) {
  instance.initMockImpl(
    api: api,
  );
}