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({bool finished = false, Handler? nextHandler, dynamic result = _NO_RESULT})

Properties

finished bool
final
hashCode int
The hash code for this object.
no setterinherited
hasResult bool
no setter
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

Static Properties

notFinished HandlerResponse
final