toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cpuInfo != null) 'cpuInfo': cpuInfo!.toJson(),
      if (memoryInfo != null) 'memoryInfo': memoryInfo!.toJson(),
    };