evaluateStoredFeatureKeys function
Implementation
bool evaluateStoredFeatureKeys(
Map<String, dynamic>? features,
List<String> featureKeys,
bool requirementAll,
bool negate,
bool Function(String key) isEnabled,
) {
if (featureKeys.isNotEmpty && (features == null || features.isEmpty)) {
return negate;
}
return evaluateResolvedKeys(featureKeys, requirementAll, negate, isEnabled);
}