isNotEmpty property

  1. @override
bool isNotEmpty
override

Returns true if the walkable collection has one or more nodes.

This is equivalent to checking if roots is not empty.

Implementation

@override
bool get isNotEmpty => roots.isNotEmpty;