isEmptyContent property
bool
get
isEmptyContent
Returns true
if this node content is empty (no children nodes).
Implementation
bool get isEmptyContent =>
allowContent && _content != null ? _content!.isEmpty : true;