toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bypassCacheOnRequestHeaders != null)
        'bypassCacheOnRequestHeaders': bypassCacheOnRequestHeaders!,
      if (cacheKeyPolicy != null) 'cacheKeyPolicy': cacheKeyPolicy!,
      if (cacheMode != null) 'cacheMode': cacheMode!,
      if (clientTtl != null) 'clientTtl': clientTtl!,
      if (defaultTtl != null) 'defaultTtl': defaultTtl!,
      if (maxTtl != null) 'maxTtl': maxTtl!,
      if (negativeCaching != null) 'negativeCaching': negativeCaching!,
      if (negativeCachingPolicy != null)
        'negativeCachingPolicy': negativeCachingPolicy!,
      if (requestCoalescing != null) 'requestCoalescing': requestCoalescing!,
      if (serveWhileStale != null) 'serveWhileStale': serveWhileStale!,
      if (signedUrlCacheMaxAgeSec != null)
        'signedUrlCacheMaxAgeSec': signedUrlCacheMaxAgeSec!,
      if (signedUrlKeyNames != null) 'signedUrlKeyNames': signedUrlKeyNames!,
    };