toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (elapsedTime != null) 'elapsedTime': elapsedTime!,
      if (endTime != null) 'endTime': endTime!,
      if (skippedMessage != null) 'skippedMessage': skippedMessage!,
      if (stackTraces != null) 'stackTraces': stackTraces!,
      if (startTime != null) 'startTime': startTime!,
      if (status != null) 'status': status!,
      if (testCaseId != null) 'testCaseId': testCaseId!,
      if (testCaseReference != null) 'testCaseReference': testCaseReference!,
      if (toolOutputs != null) 'toolOutputs': toolOutputs!,
    };