detach method

void detach(
  1. Object key
)

Detaches a function from the CancellationToken so it will not be called any more.

See Notifier.detach().

Implementation

void detach(Object key) => _notifier.detach(key);