Attachment.fromMap constructor
Rehydrates an attachment from a serialized map.
Implementation
factory Attachment.fromMap(Map<String, dynamic> map) => Attachment(
name: map['name'] as String,
contentType: map['contentType'] as String,
);