toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'setInlineGameScore',
if (extra != null) '@extra': extra,
'inline_message_id': inline_message_id,
'edit_message': edit_message,
'user_id': user_id,
'score': score,
'force': force
};
}