listenToAppsChanges static method
Listen to app changes: installations, uninstallations, updates, enabled or disabled. As it is a Stream, don't hesite to filter data if the content is too verbose for you
Implementation
static Stream<ApplicationEvent> listenToAppsChanges() {
return _eventChannel
.receiveBroadcastStream()
.map(((dynamic event) =>
ApplicationEvent._(event as Map<dynamic, dynamic>)))
.handleError((Object err) => null);
}