isEmpty property

  1. @override
bool isEmpty
override

Returns true if the walkable collection has no nodes.

This is equivalent to checking if roots is empty.

Implementation

@override
bool get isEmpty => roots.isEmpty;