remove method

void remove(
  1. dynamic bind,
  2. CancelToken cancelToken
)

Implementation

void remove(dynamic bind, CancelToken cancelToken) {
  if (!cancelTokenMap.containsKey(bind)) return;
  bool result = cancelTokenMap[bind]!.remove(cancelToken);
  logV("[CancelTokenPool] remove ${result ? "success" : "failed"}: "
      "$bind =>token: $cancelToken");
}