hasAttachment property

bool hasAttachment

Returns if a file event has an attachment

Implementation

bool get hasAttachment => content['url'] is String || content['file'] is Map;