toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (deviceName != null) 'deviceName': deviceName!,
if (existingDisk != null) 'existingDisk': existingDisk!,
if (newDisk != null) 'newDisk': newDisk!,
};