off static method

void off(
  1. Element el,
  2. String types,
  3. Function fn, [
  4. dynamic context,
])

Removes a previously added listener function. Note that if you passed a custom context to on, you must pass the same context to off in order to remove the listener.

Implementation

external static void off(
  Element el,
  String types,
  Function fn, [
  dynamic context,
]);