toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bios != null) 'bios': bios!,
      if (cpuArchitecture != null) 'cpuArchitecture': cpuArchitecture!,
      if (cpuName != null) 'cpuName': cpuName!,
      if (cpuSocketCount != null) 'cpuSocketCount': cpuSocketCount!,
      if (cpuThreadCount != null) 'cpuThreadCount': cpuThreadCount!,
      if (firmwareType != null) 'firmwareType': firmwareType!,
      if (hyperthreading != null) 'hyperthreading': hyperthreading!,
      if (vendor != null) 'vendor': vendor!,
    };