getAsAttachment method
Implementation
Attachment getAsAttachment(String key) {
var attachment = _getAttachment()
..fileName = key
..location = Location.attachment;
return attachment;
}
Attachment getAsAttachment(String key) {
var attachment = _getAttachment()
..fileName = key
..location = Location.attachment;
return attachment;
}