Disk.fromJson constructor
Disk.fromJson(
- Map json_
Implementation
Disk.fromJson(core.Map json_)
: this(
diskInterface: json_.containsKey('diskInterface')
? json_['diskInterface'] as core.String
: null,
image:
json_.containsKey('image') ? json_['image'] as core.String : null,
sizeGb: json_.containsKey('sizeGb')
? json_['sizeGb'] as core.String
: null,
snapshot: json_.containsKey('snapshot')
? json_['snapshot'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);