shouldRemoveWhenEmpty property

bool get shouldRemoveWhenEmpty

Whether this annotation should be automatically removed when empty.

Override to return true if your annotation should be deleted when isEmpty becomes true (e.g., after all member nodes are deleted).

Returns false by default. GroupAnnotation returns true for explicit behavior only.

Implementation

bool get shouldRemoveWhenEmpty => false;