prependListener method
Implementation
@mustCallSuper
void prependListener(String eventName, Function callback,
{bool once = false}) {
assert(callback != null);
assert(eventName != null);
assert(eventName.isNotEmpty);
if (!_events.containsKey(eventName)) {
_events[eventName] = <_KuzzleListener>[];
}
if (!_exist(eventName, callback)) {
_events[eventName]!.insert(0, _KuzzleListener(callback, once: once));
}
}