fireEvent method
Fires and event that is sent up the event channel, stopping only when it reaches the top or an event stops the propagation.
Implementation
void fireEvent(String eventType, dynamic payload) {
final shouldStopPropagation = _listenForEvent(eventType, payload);
if (!shouldStopPropagation) {
_parentChannel?.fireEvent(eventType, payload);
}
}