HandlerResponse class

Represents the response from a Handler when Handler.processResponse is called.

If the handler has finished processing the response, finished is true. nextHandler is irrelevant and result contains the result to return to the user.

If the handler needs another handler to process the response, finished is false. nextHandler contains the next handler which should process the next packet from the server, and result is _no_result.

Constructors

HandlerResponse({Handler? nextHandler = null, dynamic result = _no_result})

Properties

hasFinished bool
no setter
hashCode int
The hash code for this object.
no setterinherited
nextHandler Handler?
final
result → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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