toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (controlPlaneV2Config != null)
        'controlPlaneV2Config': controlPlaneV2Config!,
      if (dhcpIpConfig != null) 'dhcpIpConfig': dhcpIpConfig!,
      if (hostConfig != null) 'hostConfig': hostConfig!,
      if (podAddressCidrBlocks != null)
        'podAddressCidrBlocks': podAddressCidrBlocks!,
      if (serviceAddressCidrBlocks != null)
        'serviceAddressCidrBlocks': serviceAddressCidrBlocks!,
      if (staticIpConfig != null) 'staticIpConfig': staticIpConfig!,
      if (vcenterNetwork != null) 'vcenterNetwork': vcenterNetwork!,
    };