customRequest method

Future<List<int>?>? customRequest({
  1. required String method,
  2. required List<int> bytes,
  3. SuccessCallback<List<int>>? onSuccess,
  4. ErrorCallback? onError,
})

自定义请求

Implementation

Future<List<int>?>? customRequest({
  required String method,
  required List<int> bytes,
  SuccessCallback<List<int>>? onSuccess,
  ErrorCallback? onError,
}) {
  return _xximCore?.customRequest(
    reqId: SDKTool.getUUId(),
    method: method,
    bytes: bytes,
    onSuccess: onSuccess,
    onError: onError,
  );
}