removeListener method Null safety

void removeListener(
  1. ValueChanged<RawKeyEvent> listener
)

Stop calling the given listener every time the user presses or releases a hardware keyboard key.

Listeners can be added with addListener.

Implementation

void removeListener(ValueChanged<RawKeyEvent> listener) {
  _listeners.remove(listener);
}