toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'host': host,
    'headers': headers,
    'userAgent': userAgent,
    'cookies': cookies,
    'ip': ip,
    'requestBody': requestBody,
    'protocol': protocol,
    'hostName': hostName,
    'query': query,
    'subdomains': subdomains,
    'uaVersionBrand': uaVersionBrand,
    'uaMobile': uaMobile,
    'uaPlatform': uaPlatform,
    'reqAcceptEncoding': reqAcceptEncoding,
    'reqAcceptLanguage': reqAcceptLanguage,
    'rawHeaders': rawHeaders,
    'remoteAddress': remoteAddress,
    'remoteFamily': remoteFamily,
    'path': path,
    'params': params,
  };
}