toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '3bd4b7c2',
'\$name': 'InputReplyToMessage',
'flags': flags,
'replyToMsgId': replyToMsgId,
'topMsgId': topMsgId,
'replyToPeerId': replyToPeerId,
'quoteText': quoteText,
'quoteEntities': quoteEntities,
'quoteOffset': quoteOffset,
'monoforumPeerId': monoforumPeerId,
'todoItemId': todoItemId,
'pollOption': pollOption,
};
// Finished toJson.
return returnValue;
}