removeListener static method
Implementation
static removeListener(Callback call) {
final keys = _eventMap.keys.toList(growable: false);
for (final k in keys) {
final v = _eventMap[k];
final remove = v?.remove(call);
if (remove != null && remove && v!.isEmpty) {
_eventMap.remove(k);
}
}
}