pickAndSendImage method

Future<bool> pickAndSendImage({
  1. bool camera = false,
})

Picks a photo from the library (or the camera) and sends it.

Implementation

Future<bool> pickAndSendImage({bool camera = false}) =>
    pickAndSend(camera ? HatangAttachmentSource.camera : HatangAttachmentSource.gallery);