isNotEmpty property

bool get isNotEmpty

Returns true if this container has at least 1 child.

Implementation

bool get isNotEmpty => _children.isNotEmpty;