handleDisableFeaturesEvent method

Stream<FastAppFeaturesBlocState> handleDisableFeaturesEvent(
  1. List<FastFeatureEntity> features
)

Implementation

Stream<FastAppFeaturesBlocState> handleDisableFeaturesEvent(
  List<FastFeatureEntity> features,
) async* {
  if (isInitialized) {
    await _dataProvider.disableFeatures(features);
    yield currentState.copyWith(features: await _retrieveFeatures());
  }
}