PersistentDisk.fromJson constructor

PersistentDisk.fromJson(
  1. Map json_
)

Implementation

PersistentDisk.fromJson(core.Map json_)
    : this(
        sizeGb:
            json_.containsKey('sizeGb') ? json_['sizeGb'] as core.int : null,
        sourceImage: json_.containsKey('sourceImage')
            ? json_['sourceImage'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );