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