UnaryResponse<I, O> class
final
UnaryResponse is used in interceptors to represent a response with a single output message.
Constructors
-
UnaryResponse.new(Spec<
I, O> spec, Headers headers, O message, Headers trailers) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → Headers
-
Headers received from the response.
finalinherited
- message → O
-
The received output message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spec
→ Spec<
I, O> -
Spec of the call.
finalinherited
- trailers → Headers
-
Trailers received from the response.
finalinherited
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