canCollapseTree method

bool canCollapseTree([
  1. Node? node
])

This predicate controls whether the user can collapse expanded subtrees of Nodes.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. This method must not have any side-effects. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {Node=} node if supplied, ignore the selection and consider collapsing this particular Node. @return {boolean} @see #collapseTree

Implementation

_i2.bool canCollapseTree([_i3.Node? node]) => _i4.callMethod(
      this,
      'canCollapseTree',
      [node ?? _i5.undefined],
    );