Attachment.fromMap constructor
Attachment.fromMap(
- dynamic map
Implementation
factory Attachment.fromMap(dynamic map) {
if (map == null) throw ArgumentError('The type of attachment map is null');
return Attachment(
map['fileUrl'],
map['fileName'],
map['fileExtension'],
map['fileMimeType'],
map['fileSize'],
);
}