cancelRequest method

Future<TUIActionCallback> cancelRequest(
  1. String requestId
)

Implementation

Future<TUIActionCallback> cancelRequest(String requestId) {
  String userData = Tools.generateUserData();
  Completer<TUIActionCallback> completer = Completer();
  _actionCallback2Future(userData, completer);
  _engineSDK.Dart_CancelRequest(
      _engineFFIPointer,
      Tools.string2PointerChar(requestId),
      Tools.string2PointerChar(userData));
  return completer.future;
}