toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (architecture != null) 'architecture': architecture!,
      if (coreCount != null) 'coreCount': coreCount!,
      if (createTime != null) 'createTime': createTime!,
      if (disks != null) 'disks': disks!,
      if (guestOs != null) 'guestOs': guestOs!,
      if (machineName != null) 'machineName': machineName!,
      if (memoryMb != null) 'memoryMb': memoryMb!,
      if (network != null) 'network': network!,
      if (platform != null) 'platform': platform!,
      if (powerState != null) 'powerState': powerState!,
      if (uuid != null) 'uuid': uuid!,
    };