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,
      );