InstanceStatus.fromJson constructor

InstanceStatus.fromJson(
  1. Map json_
)

Implementation

InstanceStatus.fromJson(core.Map json_)
    : this(
        bootDisk: json_.containsKey('bootDisk')
            ? Disk.fromJson(
                json_['bootDisk'] as core.Map<core.String, core.dynamic>)
            : null,
        machineType: json_.containsKey('machineType')
            ? json_['machineType'] as core.String
            : null,
        provisioningModel: json_.containsKey('provisioningModel')
            ? json_['provisioningModel'] as core.String
            : null,
        taskPack: json_.containsKey('taskPack')
            ? json_['taskPack'] as core.String
            : null,
      );