VmwareVmDetails.fromJson constructor

VmwareVmDetails.fromJson(
  1. Map json_
)

Implementation

VmwareVmDetails.fromJson(core.Map json_)
    : this(
        bootOption: json_.containsKey('bootOption')
            ? json_['bootOption'] as core.String
            : null,
        committedStorageMb: json_.containsKey('committedStorageMb')
            ? json_['committedStorageMb'] as core.String
            : null,
        cpuCount: json_.containsKey('cpuCount')
            ? json_['cpuCount'] as core.int
            : null,
        datacenterDescription: json_.containsKey('datacenterDescription')
            ? json_['datacenterDescription'] as core.String
            : null,
        datacenterId: json_.containsKey('datacenterId')
            ? json_['datacenterId'] as core.String
            : null,
        diskCount: json_.containsKey('diskCount')
            ? json_['diskCount'] as core.int
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        guestDescription: json_.containsKey('guestDescription')
            ? json_['guestDescription'] as core.String
            : null,
        memoryMb: json_.containsKey('memoryMb')
            ? json_['memoryMb'] as core.int
            : null,
        powerState: json_.containsKey('powerState')
            ? json_['powerState'] as core.String
            : null,
        uuid: json_.containsKey('uuid') ? json_['uuid'] as core.String : null,
        vmId: json_.containsKey('vmId') ? json_['vmId'] as core.String : null,
      );