toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'chat_id': chatId,
'message_id': messageId,
'actor_id': actorId?.toJson(),
'date': date,
'old_reaction_types': oldReactionTypes
.map((item) => item.toJson())
.toList(),
'new_reaction_types': newReactionTypes
.map((item) => item.toJson())
.toList(),
'@type': constructor,
};