isEmpty property
Returns true
if there are no bits (recursively).
Implementation
bool get isEmpty {
for (final child in _children) {
if (child is TextBits) {
if (!child.isEmpty) return false;
} else {
return false;
}
}
return true;
}