toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (action != null) 'action': action!,
  if (direction != null) 'direction': direction!,
  if (displayName != null) 'displayName': displayName!,
  if (firewallRuleType != null) 'firewallRuleType': firewallRuleType!,
  if (networkUri != null) 'networkUri': networkUri!,
  if (policy != null) 'policy': policy!,
  if (policyPriority != null) 'policyPriority': policyPriority!,
  if (policyUri != null) 'policyUri': policyUri!,
  if (priority != null) 'priority': priority!,
  if (targetServiceAccounts != null)
    'targetServiceAccounts': targetServiceAccounts!,
  if (targetTags != null) 'targetTags': targetTags!,
  if (targetType != null) 'targetType': targetType!,
  if (uri != null) 'uri': uri!,
};