toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'messageGameScore',
if (extra != null) '@extra': extra,
'game_message_id': game_message_id,
'game_id': game_id,
'score': score
};
}