runResultFailCallBack method

void runResultFailCallBack(
  1. int key,
  2. CosXmlClientException? clientException,
  3. CosXmlServiceException? serviceException
)

Implementation

void runResultFailCallBack(int key, CosXmlClientException? clientException,
    CosXmlServiceException? serviceException) {
  _resultListeners[key]?.failCallBack.call(clientException, serviceException);
  _resultListeners.remove(key);
  _stateCallBacks.remove(key);
  _progressCallBacks.remove(key);
}