FastAppFeaturesBlocEvent.enableFeature constructor

FastAppFeaturesBlocEvent.enableFeature(
  1. FastAppFeatures feature
)

Implementation

FastAppFeaturesBlocEvent.enableFeature(
  FastAppFeatures feature,
) : super(
        type: FastAppFeaturesBlocEventType.enableFeature,
        payload: FastAppFeaturesBlocEventPayload(
          feature: FastFeatureEntity(
            name: feature.name.toLowerCase(),
            isEnabled: true,
          ),
        ),
      );