accept method

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

Implementation

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