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