toStringDeep method Null safety

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

Returns a string representation of this node and its descendants.

The order in which the children of the SemanticsNode will be printed is controlled by the childOrder parameter.

Implementation

@override
String toStringDeep({
  String prefixLineOne = '',
  String? prefixOtherLines,
  DiagnosticLevel minLevel = DiagnosticLevel.debug,
  DebugSemanticsDumpOrder childOrder = DebugSemanticsDumpOrder.traversalOrder,
}) {
  assert(childOrder != null);
  return toDiagnosticsNode(childOrder: childOrder).toStringDeep(prefixLineOne: prefixLineOne, prefixOtherLines: prefixOtherLines, minLevel: minLevel);
}