toAttachmentFile property
AttachmentFile
toAttachmentFile
Converts the PlatformFile
into AttachmentFile
Implementation
AttachmentFile get toAttachmentFile {
return AttachmentFile(
path: kIsWeb ? null : path,
name: name,
bytes: bytes,
size: size,
);
}