toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (critical != null) 'critical': critical!,
      if (excludedDnsNames != null) 'excludedDnsNames': excludedDnsNames!,
      if (excludedEmailAddresses != null)
        'excludedEmailAddresses': excludedEmailAddresses!,
      if (excludedIpRanges != null) 'excludedIpRanges': excludedIpRanges!,
      if (excludedUris != null) 'excludedUris': excludedUris!,
      if (permittedDnsNames != null) 'permittedDnsNames': permittedDnsNames!,
      if (permittedEmailAddresses != null)
        'permittedEmailAddresses': permittedEmailAddresses!,
      if (permittedIpRanges != null) 'permittedIpRanges': permittedIpRanges!,
      if (permittedUris != null) 'permittedUris': permittedUris!,
    };