toStringDeep method

String toStringDeep({
  1. String prefixLineOne = '',
  2. String? prefixOtherLines,
  3. DiagnosticLevel minLevel = DiagnosticLevel.debug,
  4. int wrapWidth = 65,
})

Returns a string representation of this node and its descendants.

prefixLineOne will be added to the front of the first line of the output. prefixOtherLines will be added to the front of each other line. If prefixOtherLines is null, the prefixLineOne is used for every line. By default, there is no prefix.

minLevel specifies the minimum DiagnosticLevel for properties included in the output.

wrapWidth specifies the column number where word wrapping will be applied.

The toStringDeep method takes other arguments, but those are intended for internal use when recursing to the descendants, and so can be ignored.

See also:

  • toString, for a brief description of the object but not its children.
  • toStringShallow, for a detailed description of the object but not its children.

Implementation

String toStringDeep({
  String prefixLineOne = '',
  String? prefixOtherLines,
  DiagnosticLevel minLevel = DiagnosticLevel.debug,
  int wrapWidth = 65,
}) {
  return toDiagnosticsNode().toStringDeep(prefixLineOne: prefixLineOne, prefixOtherLines: prefixOtherLines, minLevel: minLevel, wrapWidth: wrapWidth);
}