handleFeaturesRetrievedEvent method

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

Implementation

Stream<FastAppFeaturesBlocState> handleFeaturesRetrievedEvent(
  List<FastFeatureEntity> features,
) async* {
  if (isInitialized) {
    yield currentState.copyWith(
      isRetrievingFeatures: false,
      features: features,
    );
  }
}