off method

void off(
  1. String event
)

Remove the callback of the given event if exists.

Implementation

void off(String event) => this.listeners.remove(event);