Response class

The handle of the new request and the instant its claim window closes. The starter builds the trigger link from these and the service's DID.

Constructors

Response({required RequestId requestId, required String claimClosesAt, Ext? ext})
const
Response.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

claimClosesAt → String
The instant by which the request must be claimed, as an RFC 3339 date-time. The trigger link's _exp carries the same instant in the link's own integer form: the starter converts this value into it when it builds the link. At most 180 s after the request was accepted; 120 s is RECOMMENDED.
final
ext → Ext?
final
hashCode → int
The hash code for this object.
no setterinherited
requestId → String
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() → 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