isEmpty property

bool get isEmpty

Whether the whole section is at its defaults (nothing persisted).

Implementation

bool get isEmpty => !retention.hasExplicitValues && notes.isEmpty;