TextTreeRenderer class Null safety
Renderer that creates ASCII art representations of trees of DiagnosticsNode objects.
See also:
- DiagnosticsNode.toStringDeep, which uses a TextTreeRenderer to return a string representation of this node and its descendants.
Constructors
- TextTreeRenderer({DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 100, int wrapWidthProperties = 65, int maxDescendentsTruncatableNode = -1})
- Creates a TextTreeRenderer object with the given arguments specifying how the tree is rendered.
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
render(
DiagnosticsNode node, {String prefixLineOne = '', String? prefixOtherLines, TextTreeConfiguration? parentConfiguration}) → String -
Renders a
node
to a String. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited