toJson method
Implementation
Map<String, dynamic> toJson() {
final workflowId = this.workflowId;
final control = this.control;
final runId = this.runId;
return {
'workflowId': workflowId,
if (control != null) 'control': control,
if (runId != null) 'runId': runId,
};
}