deleteDialog method

Future<void> deleteDialog(
  1. String dialogId, {
  2. bool? force,
})

Implementation

Future<void> deleteDialog(String dialogId, {bool? force}) async {
  Map<String, Object> data = Map();

  data["dialogId"] = dialogId;

  if (force != null) {
    data["force"] = force;
  }

  await _chatModule.invokeMethod(DELETE_DIALOG_METHOD, data);
}