getAttachmentFromGallery method

Future<void> getAttachmentFromGallery()

Implementation

Future<void> getAttachmentFromGallery() async {
  List<Uint8ListWithName> imageFromGallery =
      await FileService.getImageFromGallery(allowMultiple: true);
  if (imageFromGallery.isEmpty) return;
  uploadAttachmentFromImage(imageFromGallery);
}