isEmptyContent property
bool
get
isEmptyContent
Returns true
if this node content is empty (no children nodes).
Implementation
bool get isEmptyContent {
if (!allowContent) return true;
return _content?.isEmpty ?? true;
}