toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bootOption != null) 'bootOption': bootOption!,
      if (committedStorageMb != null)
        'committedStorageMb': committedStorageMb!,
      if (cpuCount != null) 'cpuCount': cpuCount!,
      if (datacenterDescription != null)
        'datacenterDescription': datacenterDescription!,
      if (datacenterId != null) 'datacenterId': datacenterId!,
      if (diskCount != null) 'diskCount': diskCount!,
      if (displayName != null) 'displayName': displayName!,
      if (guestDescription != null) 'guestDescription': guestDescription!,
      if (memoryMb != null) 'memoryMb': memoryMb!,
      if (powerState != null) 'powerState': powerState!,
      if (uuid != null) 'uuid': uuid!,
      if (vmId != null) 'vmId': vmId!,
    };