XFileX extension

Useful extension for XFile

on
  • XFile

Properties

toAttachmentFile Future<AttachmentFile>
Converts the PlatformFile into AttachmentFile
no setter

Methods

toAttachment({required String type}) Future<Attachment>
Converts the XFile to a Attachment.