AddFileAttachmentWithContent method
Implementation
FileAttachment AddFileAttachmentWithContent(String name, Uint8List content) {
FileAttachment fileAttachment = FileAttachment.withOwner(_owner!);
fileAttachment.Name = name;
fileAttachment.Content = content;
InternalAdd(fileAttachment);
return fileAttachment;
}