toStringDeep method

  1. @override
String toStringDeep({
  1. String prefixLineOne = '',
  2. String? prefixOtherLines,
  3. DiagnosticLevel minLevel = DiagnosticLevel.debug,
})
override

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.

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

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