toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (requestCookiesToExclude != null)
        'requestCookiesToExclude': requestCookiesToExclude!,
      if (requestHeadersToExclude != null)
        'requestHeadersToExclude': requestHeadersToExclude!,
      if (requestQueryParamsToExclude != null)
        'requestQueryParamsToExclude': requestQueryParamsToExclude!,
      if (requestUrisToExclude != null)
        'requestUrisToExclude': requestUrisToExclude!,
      if (targetRuleIds != null) 'targetRuleIds': targetRuleIds!,
      if (targetRuleSet != null) 'targetRuleSet': targetRuleSet!,
    };