cancel method

  1. @override
Future<V2TimCallback> cancel({
  1. required String inviteID,
  2. String? data,
})
override

Implementation

@override
Future<V2TimCallback> cancel({
  required String inviteID,
  String? data,
}) async {
  Map<String, dynamic> param = {
    "inviteID": inviteID,
    "data": data,
  };
  var resp = V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "cancel",
        buildSignalingManagerParam(
          param,
        ),
      ),
    ),
  );
  log("cancel", param, resp.toLogString());
  return resp;
}