isEmpty property

  1. @override
bool get isEmpty
override

Returns true if this node is empty.

Implementation

@override
bool get isEmpty {
  if (nodes.isEmpty) return true;
  for (var node in nodes) {
    if (node.isNotEmpty) return false;
  }
  return true;
}