AwsSourceVmDetails.fromJson constructor

AwsSourceVmDetails.fromJson(
  1. Map json_
)

Implementation

AwsSourceVmDetails.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) => AwsDiskDetails.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,
      );