toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final capacityBytes = this.capacityBytes;
  final diskLabel = this.diskLabel;
  final diskLabelType = this.diskLabelType;
  final freeBytes = this.freeBytes;
  final hwAddress = this.hwAddress;
  final interfaceType = this.interfaceType;
  final partitions = this.partitions;
  final vmware = this.vmware;
  return {
    'capacityBytes': ?capacityBytes,
    'diskLabel': ?diskLabel,
    'diskLabelType': ?diskLabelType,
    'freeBytes': ?freeBytes,
    'hwAddress': ?hwAddress,
    'interfaceType': ?interfaceType,
    'partitions': ?partitions,
    'vmware': ?vmware,
  };
}