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()

Properties

hashCode int
The hash code for this object.
no setterinherited
json Map<String, dynamic>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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?