choosePoll method
Implementation
Future<void> choosePoll(String vote, String id) async {
Map<String, dynamic> body = {"vote": vote, "id": id};
await CometChat.callExtension(
ExtensionConstants.polls, "POST", ExtensionUrls.votePoll, body,
onSuccess: (Map<String, dynamic> map) {},
onError: (CometChatException e) {
debugPrint('${e.message}');
});
}