Response class

Every non-error response returned by the Service Protocol extends Response. By using the type property, the client can determine which type of response has been provided.

Implementers

Constructors

Response({@required String type})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
json Map<String, dynamic>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

parse(Map<String, dynamic> json) Response