off<T extends NyEvent> method

void off<T extends NyEvent>(
  1. NyListener listener
)

Implementation

void off<T extends NyEvent>(NyListener listener) {
  if (_subscriptions.containsKey(T)) {
    _subscriptions[T]!.remove(listener);
    if (_subscriptions[T]!.isEmpty) {
      _subscriptions.remove(T);
    }
  }
}