toString method
- TextTreeConfiguration? parentConfiguration,
- DiagnosticLevel minLevel = DiagnosticLevel.info,
inherited
Returns a string representation of this diagnostic that is compatible with the style of the parent if the node is not the root.
parentConfiguration
specifies how the parent is rendered as text art.
For example, if the parent places all properties on one line, the
toString for each property should avoid line breaks if possible.
minLevel
specifies the minimum DiagnosticLevel for properties included
in the output.
In release mode, far less information is retained and some information may not print at all.
Implementation
@override
String toString({
TextTreeConfiguration? parentConfiguration,
DiagnosticLevel minLevel = DiagnosticLevel.info,
}) {
return valueToString(parentConfiguration: parentConfiguration);
}