isAttachment property

bool get isAttachment

Whether the type is attachment.

Implementation

bool get isAttachment => type == 'attachment';