affectsPath method

bool affectsPath(
  1. Path path
)

Whether any mark lies on or below path.

Implementation

bool affectsPath(Path path) =>
    forest.rootMostValue(path) != null || !forest.subtree(path).isEmpty;