toJson method
Implementation
Map<String, dynamic> toJson() => {
'key': key.toJson(),
'msgid': msgid,
'sender': sender,
'kind': kind.toJson(),
'text': text,
'account': account,
'historical': historical,
'own': own,
'reply_to': reply_to,
'reactions': reactions.map((k, v) => MapEntry(k, v.map((e) => e).toList())),
'link_preview': link_preview?.toJson(),
'redacted': redacted,
};