BootDisk.fromJson constructor

BootDisk.fromJson(
  1. Map json_
)

Implementation

BootDisk.fromJson(core.Map json_)
    : this(
        diskEncryption: json_.containsKey('diskEncryption')
            ? json_['diskEncryption'] as core.String
            : null,
        diskSizeGb: json_.containsKey('diskSizeGb')
            ? json_['diskSizeGb'] as core.String
            : null,
        diskType: json_.containsKey('diskType')
            ? json_['diskType'] as core.String
            : null,
        kmsKey: json_.containsKey('kmsKey')
            ? json_['kmsKey'] as core.String
            : null,
      );