Response class

Success response to rooms/create. Type https://trusttasks.org/spec/rooms/create/0.2#response.

Constructors

Response({required String roomId, required int epoch, AnchorCadence? anchorCadence, RecordRetention? recordRetention, Ext? ext})
const
Response.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

anchorCadence → AnchorCadence?
Echoed so a caller knows what was recorded rather than what was asked — the two differ on a host that predates this member.
final
epoch → int
Always 1 for a new room.
final
ext → Ext?
final
hashCode → int
The hash code for this object.
no setterinherited
recordRetention → RecordRetention?
The record retention the host recorded, echoed for the same reason anchorCadence is: a caller learns what is in force rather than what it asked for. Absent when none was recorded.
final
roomId → 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