closeCallAndNotify method

dynamic closeCallAndNotify()

Implementation

closeCallAndNotify() {
  logger("closeCallAndNotify dispose (!2)");
  AsklessClient.instance.create(
      route: "askless-internal/call/close",
      body: {
        "remoteUserId": remoteUserId,
        "callClosed": true,
      }
  ).then((res) {
    logger("askless-internal/call/close response: "+res.success.toString() + ' ' + (res.error?.code ?? '') + ' ' + (res.error?.description ?? ''));
  });
  doDisposeCallback();
}