startListeningEvents method
void
startListeningEvents()
Implementation
void startListeningEvents() {
if (subscription != null) {
appendOutput(
'WARNING: Already listening for an event of type $listeningType',
);
} else {
subscription = streamGenerator().listen((event) {
appendOutput(eventTransformer(event));
});
appendOutput('INFO: Listening for $listeningType');
}
}