ProtoConnection class
- Inheritance
-
- Object
- RustToDartMirrorInterface
- ProtoConnection
- 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 ↔ ProtoConnectionDartWrapper
-
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 → ProtoNetworkSettings
-
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(
Uint8List requestData) → Future< Uint8List> - 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 ProtoConnectionPost post, required ProtoNetworkSettings settings, required String name, required String group}) → Future< ProtoConnection>