toJson method
Serialize to JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'type': type,
'timestamp': timestamp.toIso8601String(),
'runId': runId,
'pipelineId': pipelineId,
'gateId': gateId,
'passed': passed,
'conditions': conditions,
};