VmwareVCenterConfig.fromJson constructor

VmwareVCenterConfig.fromJson(
  1. Map json_
)

Implementation

VmwareVCenterConfig.fromJson(core.Map json_)
    : this(
        address: json_.containsKey('address')
            ? json_['address'] as core.String
            : null,
        caCertData: json_.containsKey('caCertData')
            ? json_['caCertData'] as core.String
            : null,
        cluster: json_.containsKey('cluster')
            ? json_['cluster'] as core.String
            : null,
        datacenter: json_.containsKey('datacenter')
            ? json_['datacenter'] as core.String
            : null,
        datastore: json_.containsKey('datastore')
            ? json_['datastore'] as core.String
            : null,
        folder: json_.containsKey('folder')
            ? json_['folder'] as core.String
            : null,
        resourcePool: json_.containsKey('resourcePool')
            ? json_['resourcePool'] as core.String
            : null,
        storagePolicyName: json_.containsKey('storagePolicyName')
            ? json_['storagePolicyName'] as core.String
            : null,
      );