OutboundGroupSession class

Constructors

OutboundGroupSession({required Map<String, Map<String, bool>> devices, required DateTime creationTime, required OutboundGroupSession? outboundGroupSession, required String key})
OutboundGroupSession.fromJson(Map<String, dynamic> dbEntry, String key)

Properties

creationTime DateTime
getter/setter pair
devices Map<String, Map<String, bool>>
The devices is a map from user id to device id to if the device is blocked. This way we can easily know if a new user is added, leaves, a new devices is added, and, very importantly, if we block a device. These are all important for determining if/when an outbound session needs to be rotated.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isValid bool
no setter
key String
final
outboundGroupSession ↔ OutboundGroupSession?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sentMessages int?
no setter

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited