AttachedDisk.fromJson constructor

AttachedDisk.fromJson(
  1. Map json_
)

Implementation

AttachedDisk.fromJson(core.Map json_)
    : this(
        deviceName: json_.containsKey('deviceName')
            ? json_['deviceName'] as core.String
            : null,
        existingDisk: json_.containsKey('existingDisk')
            ? json_['existingDisk'] as core.String
            : null,
        newDisk: json_.containsKey('newDisk')
            ? Disk.fromJson(
                json_['newDisk'] as core.Map<core.String, core.dynamic>)
            : null,
      );