toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (completedParallelInputs != null)
        'completedParallelInputs': completedParallelInputs!,
      if (computeMode != null) 'computeMode': computeMode!,
      if (computeMsAvg != null) 'computeMsAvg': computeMsAvg!,
      if (computeMsMax != null) 'computeMsMax': computeMsMax!,
      if (computeRatioAvg != null) 'computeRatioAvg': computeRatioAvg!,
      if (computeRatioMax != null) 'computeRatioMax': computeRatioMax!,
      if (endMs != null) 'endMs': endMs!,
      if (id != null) 'id': id!,
      if (inputStages != null) 'inputStages': inputStages!,
      if (name != null) 'name': name!,
      if (parallelInputs != null) 'parallelInputs': parallelInputs!,
      if (readMsAvg != null) 'readMsAvg': readMsAvg!,
      if (readMsMax != null) 'readMsMax': readMsMax!,
      if (readRatioAvg != null) 'readRatioAvg': readRatioAvg!,
      if (readRatioMax != null) 'readRatioMax': readRatioMax!,
      if (recordsRead != null) 'recordsRead': recordsRead!,
      if (recordsWritten != null) 'recordsWritten': recordsWritten!,
      if (shuffleOutputBytes != null)
        'shuffleOutputBytes': shuffleOutputBytes!,
      if (shuffleOutputBytesSpilled != null)
        'shuffleOutputBytesSpilled': shuffleOutputBytesSpilled!,
      if (slotMs != null) 'slotMs': slotMs!,
      if (startMs != null) 'startMs': startMs!,
      if (status != null) 'status': status!,
      if (steps != null) 'steps': steps!,
      if (waitMsAvg != null) 'waitMsAvg': waitMsAvg!,
      if (waitMsMax != null) 'waitMsMax': waitMsMax!,
      if (waitRatioAvg != null) 'waitRatioAvg': waitRatioAvg!,
      if (waitRatioMax != null) 'waitRatioMax': waitRatioMax!,
      if (writeMsAvg != null) 'writeMsAvg': writeMsAvg!,
      if (writeMsMax != null) 'writeMsMax': writeMsMax!,
      if (writeRatioAvg != null) 'writeRatioAvg': writeRatioAvg!,
      if (writeRatioMax != null) 'writeRatioMax': writeRatioMax!,
    };