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