toJson method
Converts this request to TDLib JSON, tagged with extra if given.
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) => {
'@type': CONSTRUCTOR,
'url': url,
'match_code': matchCode,
'allow_write_access': allowWriteAccess,
'allow_phone_number_access': allowPhoneNumberAccess,
'ton_connect_connect_data': tonConnectConnectData?.toJson(),
'@extra': ?extra,
};