JrpcConnection class
- Inheritance
-
- Object
- RustToDartMirrorInterface
- JrpcConnection
- Annotations
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 setterinherited
- connection ↔ JrpcConnectionDartWrapper
-
getter/setter pair
- group → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceHash → String
-
finalinherited
- name → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → JrpcNetworkSettings
-
final
- type → TransportType
-
final
Methods
-
dispose(
) → void -
Free memory from of class in caller
override
-
init(
) → InstanceMirror -
inherited
-
initializeMirror(
) → InstanceMirror -
Initialize mirror instance inside of instance of any class.
Typical usage:
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
String requestData) → Future< String> - Method to make post request. It's called from rust
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
{required JrpcConnectionPost post, required JrpcNetworkSettings settings, required String name, required String group}) → Future< JrpcConnection>