toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (ipCidrRange != null) 'ipCidrRange': ipCidrRange!,
      if (labels != null) 'labels': labels!,
      if (location != null) 'location': location!,
      if (name != null) 'name': name!,
      if (nextHopInterconnectAttachment != null)
        'nextHopInterconnectAttachment': nextHopInterconnectAttachment!,
      if (nextHopRouterApplianceInstance != null)
        'nextHopRouterApplianceInstance': nextHopRouterApplianceInstance!,
      if (nextHopVpcNetwork != null) 'nextHopVpcNetwork': nextHopVpcNetwork!,
      if (nextHopVpnTunnel != null) 'nextHopVpnTunnel': nextHopVpnTunnel!,
      if (priority != null) 'priority': priority!,
      if (spoke != null) 'spoke': spoke!,
      if (state != null) 'state': state!,
      if (type != null) 'type': type!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };