off method

void off(
  1. String eventType,
  2. Function handler
)

Call this with the same eventType and handler that you used for on to stop receiving events.

@remarks Related methods: {@link Unreads.on}

Implementation

external void off(String eventType, Function handler);