Message class
A Message
provides information about a pending isolate message and the
function that will be invoked to handle it.
Constructors
Properties
- handler ↔ FuncRef
-
A reference to the function that will be invoked to handle this message.
@optional, read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- index ↔ int
-
The index in the isolate's message queue. The 0th message being the next
message to be processed.
read / write
-
json
↔ Map<
String, dynamic> -
read / write, inherited
- location ↔ SourceLocation
-
The source location of handler.
@optional, read / write
- messageObjectId ↔ String
-
An instance id for the decoded message. This id can be passed to other
RPCs, for example, getObject or evaluate.
read / write
- name ↔ String
-
An advisory name describing this message.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- size ↔ int
-
The size (bytes) of the encoded message.
read / write
- type ↔ String
-
Every response returned by the VM Service has the type property. This
allows the client distinguish between different kinds of responses.
read / write, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited