attachData method
Attaches raw data as a file.
data is the file content as bytes.
name is the attachment filename.
mimeType is the MIME type of the attachment.
Implementation
@override
MailerInterface attachData(
List<int> data,
String name, {
String? mimeType,
}) =>
defaultMailer.attachData(data, name, mimeType: mimeType);