WireAskResponseCommand class final
Answer an ask_request. answers null = the user cancelled.
- Inheritance
-
- Object
- WireCommand
- WireAskResponseCommand
Constructors
-
WireAskResponseCommand({required String id, List<
AskAnswer> ? answers}) -
const
Properties
-
answers
→ List<
AskAnswer> ? -
One answer per question, in question order;
nullwhen cancelled.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The request id from the
ask_requestframe.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
-
toJson(
{int version = wireProtocolVersion}) → Map< String, dynamic> -
The canonical frame for this command at
version.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited