unlisten method

void unlisten(
  1. ReadonlySignal value,
  2. VoidCallback cb
)

Stop calling the callback for a signal

Implementation

void unlisten(core.ReadonlySignal value, VoidCallback cb) {
  final dispose = _listen.remove(value.globalId);
  dispose?.call();
}