redepthChildren method Null safety

  1. @override
void redepthChildren()
override

Adjust the depth of this node's children, if any.

Override this method in subclasses with child nodes to call redepthChild for each child. Do not call this method directly.

Implementation

@override
void redepthChildren() {
  if (_child != null)
    redepthChild(_child!);
}