pickMedia method
Opens a media choose popup and adds the selected files to the attachments.
Implementation
Future<void> pickMedia() {
field.focus.unfocus();
return _pickAttachment(
PlatformUtils.isIOS ? FileType.media : FileType.image,
);
}