Volume.fromJson constructor
Volume.fromJson(
- Map _json
Implementation
Volume.fromJson(core.Map _json)
: this(
existingDisk: _json.containsKey('existingDisk')
? ExistingDisk.fromJson(
_json['existingDisk'] as core.Map<core.String, core.dynamic>)
: null,
nfsMount: _json.containsKey('nfsMount')
? NFSMount.fromJson(
_json['nfsMount'] as core.Map<core.String, core.dynamic>)
: null,
persistentDisk: _json.containsKey('persistentDisk')
? PersistentDisk.fromJson(_json['persistentDisk']
as core.Map<core.String, core.dynamic>)
: null,
volume: _json.containsKey('volume')
? _json['volume'] as core.String
: null,
);