pickFile method

Future<void> pickFile()

Opens a file choose popup and adds the selected files to the attachments.

Implementation

Future<void> pickFile() {
  field.focus.unfocus();
  return _pickAttachment(FileType.any);
}