SavedDisk.fromJson constructor

SavedDisk.fromJson(
  1. Map json_
)

Implementation

SavedDisk.fromJson(core.Map json_)
    : this(
        architecture: json_.containsKey('architecture')
            ? json_['architecture'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        sourceDisk: json_.containsKey('sourceDisk')
            ? json_['sourceDisk'] as core.String
            : null,
        storageBytes: json_.containsKey('storageBytes')
            ? json_['storageBytes'] as core.String
            : null,
        storageBytesStatus: json_.containsKey('storageBytesStatus')
            ? json_['storageBytesStatus'] as core.String
            : null,
      );