Response class
Synchronous acknowledgement that the wallet received the request and will (or will not) deliver a confirm/response. The actual signed confirmation arrives via confirm/response out-of-band. Carried in a Trust Task document whose type is https://trusttasks.org/spec/confirm/request/0.1#response.
Constructors
- Response({required ResponseStatus status, String? reason, Ext? ext})
-
const
-
Response.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- ext → Ext?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String?
-
Required when status is
refused.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → ResponseStatus
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited