crossesDirectory property

  1. @override
bool? get crossesDirectory
override

Returns true if node crosses directory; otherwise false.

Implementation

@override
bool? get crossesDirectory {
  if (_crossesDirectory == null) {
    _crossesDirectory = false;
    for (final node in _nodes!) {
      if (node.crossesDirectory!) {
        _crossesDirectory = true;
        break;
      }
    }
  }

  return _crossesDirectory;
}