unregister method
Implementation
void unregister(Object eventName, [VoidValueCallback? f]) {
var list = _eMap[eventName];
if (list == null) return;
if (f == null) {
_eMap[eventName] = null;
} else {
list.remove(f);
}
}
void unregister(Object eventName, [VoidValueCallback? f]) {
var list = _eMap[eventName];
if (list == null) return;
if (f == null) {
_eMap[eventName] = null;
} else {
list.remove(f);
}
}