pickAndSend method
- HatangAttachmentSource source
Lets the visitor pick from source (camera, photo library, files) and
sends the result. Returns false when they cancelled.
Implementation
Future<bool> pickAndSend(HatangAttachmentSource source) async {
final picked = await _attachments.pick(source);
if (picked == null) return false;
await engine.attach(picked);
return true;
}