toJson method

Map<String, Object?> toJson()

Encodes this CockpitTestReportBundle as a JSON object.

Implementation

Map<String, Object?> toJson() => <String, Object?>{
  'schemaVersion': schemaVersion,
  'generatedAt': generatedAt.toIso8601String(),
  'report': report.toJson(),
  'executions': executions.map((execution) => execution.toJson()).toList(),
  'complete': complete,
};