hasAttachments property

bool get hasAttachments

Checks if there is at least 1 attachment

Implementation

bool get hasAttachments => _attachments.isNotEmpty;