removeAllListeners method

  1. @JS("removeAllListeners")
Future removeAllListeners(
  1. String? events
)

Add a listener to be triggered for only the next eventName event, at which time it will be removed.

Implementation

@JS("removeAllListeners")
external Future removeAllListeners(String? events);