Response class Null safety

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.
read-onlyinherited
json Map<String, dynamic>?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type String
read-only

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?