getFeatureValueCached<T> method
Get a typed feature value (cached, may be stale).
Implementation
T getFeatureValueCached<T>(String featureKey, T defaultValue) {
final value = _getFeatureValue(featureKey);
if (value is T) return value;
return defaultValue;
}