toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '413a3e73',
'\$name': 'MessagesRequestSimpleWebView',
'flags': flags,
'fromSwitchWebview': fromSwitchWebview,
'fromSideMenu': fromSideMenu,
'compact': compact,
'fullscreen': fullscreen,
'bot': bot,
'url': url,
'startParam': startParam,
'themeParams': themeParams,
'platform': platform,
};
// Finished toJson.
return returnValue;
}