ResponseFailed class

Emitted when the model fails to generate a response.

Inheritance

Constructors

ResponseFailed({required Response response, required int sequenceNumber})
const
ResponseFailed.fromJson(Map<String, dynamic> json)
Parse from the wire‐format JSON.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
response → Response
The failed response object (usually contains an error field).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sequenceNumber → int
Monotonic ordering index for the event stream.
final
type → String
finalinherited

Methods

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