EdgeInput class

Constructors

EdgeInput({required String outcome, EdgeArrowType type = EdgeArrowType.one})
Input data for node's edge. outcome unique identifier of the outcome node. Outcome node should exist in DirectGraph.list. type style of arrows to be drawn on the edge if DirectGraph.pathBuilder is not defined and default builder is used.
EdgeInput.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
outcome String
outcome unique identifier of the outcome node. Outcome node should exist in DirectGraph.list.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type EdgeArrowType
style of arrows to be drawn on the edge EdgeArrowType.none draw no arrows. EdgeArrowType.one draw arrow only at the end of the edge. EdgeArrowType.both draw arrows on both sides of the edge.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
typeToString() String

Operators

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

Static Methods

typeFromString(String typeAsString) EdgeArrowType