WorkflowEdge class

Describes a directed edge between workflow steps.

Constructors

WorkflowEdge({required String from, required String to, String? condition})
Creates a workflow edge from from to to.
const
WorkflowEdge.fromJson(Map<String, Object?> json)
Rehydrates an edge from serialized JSON.
factory

Properties

condition String?
Optional condition or label for the transition.
final
from String
Originating step identifier.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to String
Destination step identifier.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serialize edge metadata for workflow introspection.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited