RustToDartMirrorInterface class abstract
Mirroring interface for classes that is used with RustToDartCaller to specify which instance should invoke calls from rust by instanceHash.
Constructors
- RustToDartMirrorInterface([String? overrideInstanceHash])
-
overrideInstanceHash
can be used in tests to set specified value.
Properties
- avoidCall → bool
-
If this flag is true, then all calls from dart to rust should be avoided.
Typically, this method should be used in methods like updateData that makes
calls to rust.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceHash → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Free memory from of class in caller
-
init(
) → InstanceMirror -
initializeMirror(
) → InstanceMirror - Initialize mirror instance inside of instance of any class. Typical usage:
-
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