isEmpty property

bool get isEmpty

Whether this element is self-closing.

Implementation

bool get isEmpty => children == null;