isEmpty property

bool get isEmpty

Whether this annotation is considered "empty" and has no content.

Override to define what "empty" means for your annotation type. For GroupAnnotation with explicit/parent behavior, this returns true when there are no member nodes.

Returns false by default (annotations are not considered empty).

Implementation

bool get isEmpty => false;