onListen method
Implementation
void onListen(ListenerUnit<T> child) {
if (_listenFirst) return;
if (shouldCache) {
if (_caches != null) {
for (var item in _caches!) {
child.add(item);
}
return;
}
}
_childResume(child);
}