initialize method

Future<void> initialize(
  1. FeatureConfig? config,
  2. Map<String, Feature> registeredFeatures
)

Callback to initialize the Feature. This method is called when the feature is registered and should not be invoked directly. It should also be noted that the registeredFeatures map is a map of all the features that have been registered with the feature registry up to the point when this feature is registered.

Implementation

Future<void> initialize(
  FeatureConfig? config,
  Map<String, Feature> registeredFeatures,
) async {}