isEmpty property

bool get isEmpty

Indicates whether this Announcement is empty.

Implementation

bool get isEmpty => title.isEmpty && body?.isNotEmpty != true;