isImageAttachment property
bool
isImageAttachment
Check if attachment is an image
Implementation
bool get isImageAttachment => attachment.title?.mimeType?.type == 'image';
Check if attachment is an image
bool get isImageAttachment => attachment.title?.mimeType?.type == 'image';