containsRoot method

  1. @override
bool containsRoot(
  1. E node
)
override

Returns whether the collection contains a root node.

Implementation

@override
bool containsRoot(E node) => roots.contains(node);