toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (action != null) 'action': action!,
  if (description != null) 'description': description!,
  if (headerAction != null) 'headerAction': headerAction!,
  if (kind != null) 'kind': kind!,
  if (match != null) 'match': match!,
  if (networkMatch != null) 'networkMatch': networkMatch!,
  if (preconfiguredWafConfig != null)
    'preconfiguredWafConfig': preconfiguredWafConfig!,
  if (preview != null) 'preview': preview!,
  if (priority != null) 'priority': priority!,
  if (rateLimitOptions != null) 'rateLimitOptions': rateLimitOptions!,
  if (redirectOptions != null) 'redirectOptions': redirectOptions!,
};