Removes a handler previously passed to on.
void off(Events event, Function handler) { _appHandlers.removeWhere((h) => h.key == event && h.value == handler); _eventEmitter.remove(event.parseToString(), handler); }