toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (capacityBytes != null) 'capacityBytes': capacityBytes!,
if (diskLabel != null) 'diskLabel': diskLabel!,
if (diskLabelType != null) 'diskLabelType': diskLabelType!,
if (freeBytes != null) 'freeBytes': freeBytes!,
if (hwAddress != null) 'hwAddress': hwAddress!,
if (interfaceType != null) 'interfaceType': interfaceType!,
if (partitions != null) 'partitions': partitions!,
if (vmware != null) 'vmware': vmware!,
};