getAttachmentFromCamera method

Future<void> getAttachmentFromCamera()

Implementation

Future<void> getAttachmentFromCamera() async {
  Uint8ListWithName? imageFromCamera = await FileService.getImageFromCamera();
  if (imageFromCamera == null) return;
  uploadAttachmentFromImage([imageFromCamera]);
}