toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (logicalCoreCount != null) 'logicalCoreCount': logicalCoreCount!,
      if (machineType != null) 'machineType': machineType!,
      if (memoryMb != null) 'memoryMb': memoryMb!,
      if (physicalCoreCount != null) 'physicalCoreCount': physicalCoreCount!,
      if (series != null) 'series': series!,
      if (storage != null) 'storage': storage!,
    };