toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (architecture != null) 'architecture': architecture!,
  if (bootOption != null) 'bootOption': bootOption!,
  if (committedStorageMb != null) 'committedStorageMb': committedStorageMb!,
  if (computerName != null) 'computerName': computerName!,
  if (cpuCount != null) 'cpuCount': cpuCount!,
  if (diskCount != null) 'diskCount': diskCount!,
  if (disks != null) 'disks': disks!,
  if (memoryMb != null) 'memoryMb': memoryMb!,
  if (osDescription != null) 'osDescription': osDescription!,
  if (osDisk != null) 'osDisk': osDisk!,
  if (powerState != null) 'powerState': powerState!,
  if (tags != null) 'tags': tags!,
  if (vmId != null) 'vmId': vmId!,
  if (vmSize != null) 'vmSize': vmSize!,
};