Treeify class abstract
This class should not be extended. Instead, call the static funtions asLines or asTree to get the result of tree.
Constructors
- Treeify()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
asLines(
Map obj, dynamic lineCallback(String line), [bool showValues = true]) → void -
This will give you access to each lines in the callback function
lineCallback
. This can be useful to modify the output in any form. -
asTree(
Map obj, bool showValues) → String - Outputs the entire tree, returning it as a string with line breaks.