markMessageDelivered method

Future<void> markMessageDelivered(
  1. QBMessage qbMessage
)

Implementation

Future<void> markMessageDelivered(QBMessage qbMessage) async {
  Map<String, Object> data = Map();

  Map<String, Object> messageMap = QBMessageMapper.qbMessageToMap(qbMessage)!;

  data["message"] = messageMap;

  await _chatModule.invokeMethod(MARK_MESSAGE_DELIVERED_METHOD, data);
}