render method
- DiagnosticsNode node, {
- String prefixLineOne = '',
- String? prefixOtherLines,
- TextTreeConfiguration? parentConfiguration,
Renders a node
to a String.
Implementation
String render(
DiagnosticsNode node, {
String prefixLineOne = '',
String? prefixOtherLines,
TextTreeConfiguration? parentConfiguration,
}) {
if (kReleaseMode) {
return '';
} else {
return _debugRender(
node,
prefixLineOne: prefixLineOne,
prefixOtherLines: prefixOtherLines,
parentConfiguration: parentConfiguration,
);
}
}