toDescription method Null safety
- {TextTreeConfiguration? parentConfiguration}
override
Returns a description with a short summary of the node itself not including children or properties.
parentConfiguration
specifies how the parent is rendered as text art.
For example, if the parent does not line break between properties, the
description of a property should also be a single line if possible.
Implementation
@override
String toDescription({ TextTreeConfiguration? parentConfiguration }) {
String result = '';
assert(() {
result = value.toStringShort();
return true;
}());
return result;
}