onTriviaGameFinishedEvent method
Implementation
StreamSubscription<Event> onTriviaGameFinishedEvent(Function callback) {
return this.onEvent.listen((Event e) {
if (e is TriviaGameFinishedEvent) {
callback(e);
}
});
}
StreamSubscription<Event> onTriviaGameFinishedEvent(Function callback) {
return this.onEvent.listen((Event e) {
if (e is TriviaGameFinishedEvent) {
callback(e);
}
});
}