toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (coreCount != null) 'coreCount': coreCount!,
  if (coreLimit != null) 'coreLimit': coreLimit!,
  if (diskAllocatedBytes != null) 'diskAllocatedBytes': diskAllocatedBytes!,
  if (diskUsedBytes != null) 'diskUsedBytes': diskUsedBytes!,
  if (instances != null) 'instances': instances!,
  if (memoryBytes != null) 'memoryBytes': memoryBytes!,
  if (memoryLimitBytes != null) 'memoryLimitBytes': memoryLimitBytes!,
  if (physicalCoreCount != null) 'physicalCoreCount': physicalCoreCount!,
  if (physicalCoreLimit != null) 'physicalCoreLimit': physicalCoreLimit!,
};