statusUpdates property

Stream<FeatureFlagStatusChangedEvent> get statusUpdates

A stream of feature flag status changed events.

The stream emits an ArgumentError if the platform reports a status this version of the plugin does not recognize, so listeners that care about those should pass an onError handler.

Implementation

Stream<FeatureFlagStatusChangedEvent> get statusUpdates {
  return _module
      .getEventStream("com.airship.flutter/event/feature_flag_status_changed")
      .map((dynamic value) => FeatureFlagStatusChangedEvent._fromJson(value));
}