toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoDelete != null) 'autoDelete': autoDelete!,
      if (boot != null) 'boot': boot!,
      if (deviceName != null) 'deviceName': deviceName!,
      if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
      if (guestOsFeatures != null) 'guestOsFeatures': guestOsFeatures!,
      if (index != null) 'index': index!,
      if (interface != null) 'interface': interface!,
      if (kind != null) 'kind': kind!,
      if (licenses != null) 'licenses': licenses!,
      if (mode != null) 'mode': mode!,
      if (source != null) 'source': source!,
      if (type != null) 'type': type!,
    };