textTreeConfiguration property
@protected
Returns a configuration specifying how this object should be rendered as text art.
Implementation
@protected
TextTreeConfiguration get textTreeConfiguration {
assert(style != null);
switch (style) {
case DiagnosticsTreeStyle.dense:
return denseTextConfiguration;
case DiagnosticsTreeStyle.sparse:
return sparseTextConfiguration;
case DiagnosticsTreeStyle.offstage:
return dashedTextConfiguration;
case DiagnosticsTreeStyle.whitespace:
return whitespaceTextConfiguration;
case DiagnosticsTreeStyle.transition:
return transitionTextConfiguration;
case DiagnosticsTreeStyle.singleLine:
return singleLineTextConfiguration;
}
return null;
}