WorkflowEdge.fromJson constructor
Rehydrates an edge from serialized JSON.
Implementation
factory WorkflowEdge.fromJson(Map<String, Object?> json) {
return WorkflowEdge(
from: json['from']?.toString() ?? '',
to: json['to']?.toString() ?? '',
condition: json['condition']?.toString(),
);
}