toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '269dc2c1',
'\$name': 'MessagesRequestWebView',
'flags': flags,
'fromBotMenu': fromBotMenu,
'silent': silent,
'compact': compact,
'fullscreen': fullscreen,
'peer': peer,
'bot': bot,
'url': url,
'startParam': startParam,
'themeParams': themeParams,
'platform': platform,
'replyTo': replyTo,
'sendAs': sendAs,
};
// Finished toJson.
return returnValue;
}