WireSecretResponseCommand class final
Answer a secret_request. result null = the user declined.
E4: result.value is a SECRET-class field — hosts redact before logging.
- Inheritance
-
- Object
- WireCommand
- WireSecretResponseCommand
Constructors
- WireSecretResponseCommand({required String id, RequestSecretResult? result})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The request id from the
secret_requestframe.final - result → RequestSecretResult?
-
The granted credential;
nullwhen the user declined.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