hasChildren method

bool hasChildren(
  1. TKey key
)

Whether the given node has children.

Implementation

bool hasChildren(TKey key) {
  final c = _childListOf(key);
  return c != null && c.isNotEmpty;
}