SystemDfVolume.fromJson constructor
Builds SystemDfVolume from JSON.
Implementation
factory SystemDfVolume.fromJson(Map<String, Object?> json) {
return SystemDfVolume(
volumeName: asString(json['VolumeName']) ?? '',
links: asInt(json['Links']) ?? 0,
size: asInt(json['Size']) ?? 0,
reclaimableSize: asInt(json['ReclaimableSize']) ?? 0,
raw: json,
);
}