RustToDartCaller class
Class that is used to unify calls from rust to dart for any types and count of instances.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instances
→ Map<
String, RustToDartMirrorInterface> -
Key - is unique hash that could be used to identify any object instance.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
invoke(
String instanceHash, String memberName, List positionalArguments, [Map< Symbol, dynamic> ? namedArguments]) → Object? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerInstance(
RustToDartMirrorInterface instance) → void - Register some class to be able to listen calls from rust
-
reInitCaller(
) → void - Drop all registered instances, used only for tests.
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterInstance(
RustToDartMirrorInterface instance) → void - Unregister some class from listening calls from rust.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ RustToDartCaller
-
getter/setter pair