toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final cacheFillBytes = this.cacheFillBytes;
  final cacheHit = this.cacheHit;
  final cacheLookup = this.cacheLookup;
  final cacheValidatedWithOriginServer = this.cacheValidatedWithOriginServer;
  final latency = this.latency;
  final protocol = this.protocol;
  final referer = this.referer;
  final remoteIp = this.remoteIp;
  final requestMethod = this.requestMethod;
  final requestSize = this.requestSize;
  final requestUrl = this.requestUrl;
  final responseSize = this.responseSize;
  final serverIp = this.serverIp;
  final status = this.status;
  final userAgent = this.userAgent;
  return {
    'cacheFillBytes': ?cacheFillBytes,
    'cacheHit': ?cacheHit,
    'cacheLookup': ?cacheLookup,
    'cacheValidatedWithOriginServer': ?cacheValidatedWithOriginServer,
    'latency': ?latency,
    'protocol': ?protocol,
    'referer': ?referer,
    'remoteIp': ?remoteIp,
    'requestMethod': ?requestMethod,
    'requestSize': ?requestSize,
    'requestUrl': ?requestUrl,
    'responseSize': ?responseSize,
    'serverIp': ?serverIp,
    'status': ?status,
    'userAgent': ?userAgent,
  };
}