PingPongMessage<T> class

Base message for a PingPongIsolateBundle.

Contains an id to identify the 'session'. This id is generated when sending the message to the isolate. When a message is received from that isolate, the id is checked to know whether the pingPong method should return.

The value is the actual payload for the receiving isolate.

Constructors

PingPongMessage(String id, T value)
Base message for a PingPongIsolateBundle.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Used to identify the 'session'.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The the actual payload for the receiving isolate.
final

Methods

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