Disk.fromJson constructor
Disk.fromJson(
- Map json_
Implementation
Disk.fromJson(core.Map json_)
: this(
diskType: json_.containsKey('diskType')
? json_['diskType'] as core.String
: null,
mountPoint: json_.containsKey('mountPoint')
? json_['mountPoint'] as core.String
: null,
sizeGb:
json_.containsKey('sizeGb') ? json_['sizeGb'] as core.int : null,
);