RustLib class

Main entrypoint of the Rust API

Properties

apiImplConstructor → ApiImplConstructor<RustLibApiImpl, RustLibWire>
This is only intended to be used by automatically generated code, instead of developers.
no setter
codegenVersion → String
This is only intended to be used by automatically generated code, instead of developers.
no setter
defaultExternalLibraryLoaderConfig → ExternalLibraryLoaderConfig
This is only intended to be used by automatically generated code, instead of developers.
no setter
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 setter
wireConstructor → WireConstructor<RustLibWire>
This is only intended to be used by automatically generated code, instead of developers.
no setter

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.
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}) → 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