toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (method != null) 'method': method!,
      if (referrer != null) 'referrer': referrer!,
      if (remoteIp != null) 'remoteIp': remoteIp!,
      if (responseStatusCode != null)
        'responseStatusCode': responseStatusCode!,
      if (url != null) 'url': url!,
      if (userAgent != null) 'userAgent': userAgent!,
    };