StoredInboundGroupSession.fromJson constructor

StoredInboundGroupSession.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory StoredInboundGroupSession.fromJson(Map<String, dynamic> json) =>
    StoredInboundGroupSession(
      roomId: json['room_id'],
      sessionId: json['session_id'],
      pickle: json['pickle'],
      content: json['content'],
      indexes: json['indexes'],
      allowedAtIndex: json['allowed_at_index'],
      // ignore: deprecated_member_use_from_same_package
      uploaded: json['uploaded'],
      senderKey: json['sender_key'],
      senderClaimedKeys: json['sender_claimed_keys'],
    );