getFeatureFlags method

Map<String?, bool> getFeatureFlags()

Get feature flags Map with keys as String instead of Enum Useful as an argument sent to the Kotlin/Swift code

Implementation

Map<String?, bool> getFeatureFlags() {
  Map<String?, bool> featureFlagsWithStrings = HashMap();

  featureFlags.forEach((key, value) {
    featureFlagsWithStrings[FeatureFlagHelper.featureFlags[key]] = value;
  });

  return featureFlagsWithStrings;
}