AttachedVolume.fromJson constructor
Creates a AttachedVolume from JSON data.
Implementation
factory AttachedVolume.fromJson(Map<String, dynamic> json) {
final tempDevicePathJson = json['devicePath'];
final tempNameJson = json['name'];
final String tempDevicePath = tempDevicePathJson;
final String tempName = tempNameJson;
return AttachedVolume(
devicePath: tempDevicePath,
name: tempName,
);
}