SessionKey constructor

SessionKey({
  1. required Map<String, dynamic> content,
  2. required InboundGroupSession? inboundGroupSession,
  3. required String key,
  4. Map<String, String>? indexes,
  5. Map<String, Map<String, int>>? allowedAtIndex,
  6. required String roomId,
  7. required String sessionId,
  8. required String senderKey,
  9. required Map<String, String> senderClaimedKeys,
})

Implementation

SessionKey({
  required this.content,
  required this.inboundGroupSession,
  required this.key,
  Map<String, String>? indexes,
  Map<String, Map<String, int>>? allowedAtIndex,
  required this.roomId,
  required this.sessionId,
  required this.senderKey,
  required this.senderClaimedKeys,
})  : indexes = indexes ?? <String, String>{},
      allowedAtIndex = allowedAtIndex ?? <String, Map<String, int>>{};