VolumeSnapshot.fromJson constructor

VolumeSnapshot.fromJson(
  1. Map json_
)

Implementation

VolumeSnapshot.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        storageVolume: json_.containsKey('storageVolume')
            ? json_['storageVolume'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );