toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
  'user_id': userId,
  'url': url,
  'domain': domain,
  'from_app': fromApp,
  'verified_app_name': verifiedAppName,
  'bot_user_id': botUserId,
  'request_write_access': requestWriteAccess,
  'request_phone_number_access': requestPhoneNumberAccess,
  'browser': browser,
  'platform': platform,
  'ip_address': ipAddress,
  'location': location,
  'match_code_first': matchCodeFirst,
  'match_codes': matchCodes.map((item) => item).toList(),
  '@type': constructor,
};