BaseEntrypoint<A extends BaseApi, AI extends BaseApiImpl<BaseWire>, W extends BaseWire> class abstract

This is the main entrypoint. For example, users call init on it, and auto-generated code call api on it.

This class is like "service locator" (e.g. the get_it package) for all services related to flutter_rust_bridge.

This should be a singleton per flutter_rust_bridge usage (enforced via generated subclass code).

Constructors

BaseEntrypoint.new()

Properties

api → A
This is only intended to be used by automatically generated code, instead of developers.
no setter
apiImplConstructor ApiImplConstructor<AI, W>
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 setter
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<W>
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.
executeRustInitializers() Future<void>
This is only intended to be used by automatically generated code, instead of developers.
initImpl({A? api, BaseHandler? handler, ExternalLibrary? externalLibrary}) Future<void>
This is only intended to be used by automatically generated code, instead of developers.
initMockImpl({required A api}) → void
This is only intended to be used by automatically generated code, instead of developers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetState() → void
The code is used only internally and is not a public API. The comment exists mainly to satisfy the linter.
toString() String
A string representation of this object.
inherited

Operators

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