toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"message_id": messageId,
"sender_id": senderId.toJson(),
"sender_name": senderName,
"is_outgoing": isOutgoing,
"content": content.toJson(),
};
}