off abstract method
Removes a specific listener from an event.
If the listener isn't registered for the event, this is a no-op. Note: This requires the exact function reference; anonymous functions can't be removed this way.
event: The event name.listener: The listener function to remove.
Example:
events.off('user.created', myHandler);
Implementation
void off(String event, EventListener listener);