attachmentMimetype property
String
get
attachmentMimetype
Gets the mimetype of the attachment of a file event, or a blank string if not present
Implementation
String get attachmentMimetype => infoMap['mimetype'] is String
? infoMap['mimetype'].toLowerCase()
: (content
.tryGetMap<String, Object?>('file')
?.tryGet<String>('mimetype') ??
'');