RustLib class

Main entrypoint of the Rust API

Inheritance

Properties

apiImplConstructor ApiImplConstructor<RustLibApiImpl, RustLibWire>
This is only intended to be used by automatically generated code, instead of developers.
no setteroverride
codegenVersion String
This is only intended to be used by automatically generated code, instead of developers.
no setteroverride
defaultExternalLibraryLoaderConfig ExternalLibraryLoaderConfig
This is only intended to be used by automatically generated code, instead of developers.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
initialized bool
Whether the system has been initialized.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
rustContentHash int
This is only intended to be used by automatically generated code, instead of developers.
no setteroverride
wireConstructor WireConstructor<RustLibWire>
This is only intended to be used by automatically generated code, instead of developers.
no setteroverride

Methods

disposeImpl() → void
This is only intended to be used by automatically generated code, instead of developers.
inherited
executeRustInitializers() Future<void>
This is only intended to be used by automatically generated code, instead of developers.
override
initImpl({RustLibApi? api, BaseHandler? handler, ExternalLibrary? externalLibrary, bool forceSameCodegenVersion = true}) Future<void>
This is only intended to be used by automatically generated code, instead of developers.
inherited
initMockImpl({required RustLibApi api}) → void
This is only intended to be used by automatically generated code, instead of developers.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

dispose() → void
Dispose flutter_rust_bridge
init({RustLibApi? api, BaseHandler? handler, ExternalLibrary? externalLibrary, bool forceSameCodegenVersion = true}) Future<void>
Initialize flutter_rust_bridge
initMock({required RustLibApi api}) → void
Initialize flutter_rust_bridge in mock mode. No libraries for FFI are loaded.

Constants

kDefaultExternalLibraryLoaderConfig → const ExternalLibraryLoaderConfig