RustPlatform class

Constructors

RustPlatform(FutureOr<WasmModule> dylib)

Properties

dropPort → NativePortType
no setterinherited
hashCode → NativePortType
The hash code for this object.
no setterinherited
inner → RustWire
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

api2wire_box_autoadd_usize(int raw) → int
api2wire_opt_box_autoadd_usize(int? raw) → int?
api2wire_String(String raw) → String
api2wire_StringList(List<String> raw) → List<String>
api2wire_uint_32_list(Uint32List raw) → Uint32List
api2wire_uint_8_list(Uint8List raw) → Uint8List
dispose() → void
inherited
executeNormal<S, E extends Object>(FlutterRustBridgeTask<S, E> task) → Future<S>
Execute a normal ffi call. Usually called by generated code instead of manually called.
inherited
executeStream<S, E extends Object>(FlutterRustBridgeTask<S, E> task) → Stream<S>
Similar to executeNormal, except that this will return a Stream instead of a Future.
inherited
executeSync<S, E extends Object>(FlutterRustBridgeSyncTask<S, E> task) → S
Similar to executeNormal, except that this will return synchronously
inherited
log(String message) → void
Configure a logger for error handling.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setup() → Future<void>
Do your setup logic inside this function.
setupMixinConstructor() → void
Please call it inside the constructor of your class.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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