toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (address != null) 'address': address!,
      if (caCertData != null) 'caCertData': caCertData!,
      if (cluster != null) 'cluster': cluster!,
      if (dataDisk != null) 'dataDisk': dataDisk!,
      if (datacenter != null) 'datacenter': datacenter!,
      if (datastore != null) 'datastore': datastore!,
      if (folder != null) 'folder': folder!,
      if (resourcePool != null) 'resourcePool': resourcePool!,
      if (storagePolicyName != null) 'storagePolicyName': storagePolicyName!,
    };