VmwareSourceVmDetails.fromJson constructor

VmwareSourceVmDetails.fromJson(
  1. Map json_
)

Implementation

VmwareSourceVmDetails.fromJson(core.Map json_)
    : this(
        committedStorageBytes: json_.containsKey('committedStorageBytes')
            ? json_['committedStorageBytes'] as core.String
            : null,
        disks: json_.containsKey('disks')
            ? (json_['disks'] as core.List)
                .map((value) => VmwareDiskDetails.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        firmware: json_.containsKey('firmware')
            ? json_['firmware'] as core.String
            : null,
        vmCapabilitiesInfo: json_.containsKey('vmCapabilitiesInfo')
            ? VmCapabilities.fromJson(json_['vmCapabilitiesInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
      );