DotFormatter class
Generates a description of a StateTreeBuilder in Graphviz DOT graph format.
- Implemented types
Constructors
- DotFormatter({String? graphName, String getStateName(StateKey key)?})
- Constructs a DotFormatter instance.
Properties
- getStateName → String Function(StateKey key)?
-
Optional function that will be called when labeling each state in the tree, and can be used
to customize the state names.
final
- graphName → String?
-
Optional name used to label the graph
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
formatTo(
StateTreeBuilder treeBuilder, StringSink sink) → void -
Writes a textual description of the state tree represented by
treeBuilderto thesink.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited