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 (priority != null) 'priority': priority!,
      if (targetServiceAccounts != null)
        'targetServiceAccounts': targetServiceAccounts!,
      if (targetTags != null) 'targetTags': targetTags!,
      if (uri != null) 'uri': uri!,
    };