isNotEmpty property Null safety

bool isNotEmpty

Checks if this node has children

Implementation

bool get isNotEmpty => children.isNotEmpty;