getFeatureFlags method
Get feature flags Map with keys as String instead of Enum Useful as an argument sent to the Kotlin/Swift code
Implementation
Map<String?, dynamic> getFeatureFlags() {
Map<String?, dynamic> featureFlagsWithStrings = HashMap();
featureFlags?.forEach((key, value) {
featureFlagsWithStrings[FeatureFlagHelper.featureFlags[key]] = value;
});
return featureFlagsWithStrings;
}