mangedConfigurationsStream property
Returns a broadcast stream which calls on managed app configuration changes Json will be returned Call dispose when stream is not more necessary
Implementation
@override
Stream<Map<String, dynamic>?> get mangedConfigurationsStream {
_actionApplicationRestrictionsChangedSubscription ??=
_managedConfigurationEventChannel
.receiveBroadcastStream()
.listen((newManagedConfigurations) {
if (newManagedConfigurations != null) {
_mangedConfigurationsController
.add(json.decode(newManagedConfigurations));
}
});
return _managedConfigurationsStream;
}