toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (containers != null)
        'containers':
            containers!.map((key, item) => core.MapEntry(key, item.toJson())),
      if (cpuTime != null)
        'cpuTime': cpuTime!.map((value) => value.toJson()).toList(),
      if (memoryInfo != null)
        'memoryInfo': memoryInfo!.map((value) => value.toJson()).toList(),
    };