GcePersistentDisk.fromJson constructor

GcePersistentDisk.fromJson(
  1. Map json_
)

Implementation

GcePersistentDisk.fromJson(core.Map json_)
    : this(
        diskType: json_.containsKey('diskType')
            ? json_['diskType'] as core.String
            : null,
        readOnly: json_.containsKey('readOnly')
            ? json_['readOnly'] as core.bool
            : null,
        sourceImage: json_.containsKey('sourceImage')
            ? json_['sourceImage'] as core.String
            : null,
        sourceSnapshot: json_.containsKey('sourceSnapshot')
            ? json_['sourceSnapshot'] as core.String
            : null,
      );