getChatAttachmentConsent method

void getChatAttachmentConsent()

Implementation

void getChatAttachmentConsent() {
  networkRequestHandler(
      apiCall: ()=> apiClient.getChatAttachmentConsent(meetingDetails.meetingUid),
      onSuccess: (data) {
        isChatAttachmentDownloadEnable = data?.chatAttachmentDownloadConsent == true;
      },
      onError: (message) {
        sendMessageToUI(message);
        isChatAttachmentDownloadEnable = false;
      }
  );
}