hasAttachment property
bool
get
hasAttachment
Returns if a file event has an attachment
Implementation
bool get hasAttachment => content['url'] is String || content['file'] is Map;
Returns if a file event has an attachment
bool get hasAttachment => content['url'] is String || content['file'] is Map;