joinDialog method

Future<QBDialog?> joinDialog(
  1. String dialogId
)

Implementation

Future<QBDialog?> joinDialog(String dialogId) async {
  Map<String, Object> data = Map();

  data["dialogId"] = dialogId;

  Map<Object?, Object?> map = await _chatModule.invokeMethod(JOIN_DIALOG_METHOD, data);

  QBDialog? createdDialog = QBDialogMapper.mapToQBDialog(map);

  return createdDialog;
}