dependsOnValue method
Implementation
T dependsOnValue(BuildContext context) {
var holder = context.dependOnInheritedWidgetOfExactType<FeatureFlags>();
if (holder != null) {
var flagValue = holder.find(this);
if (flagValue != null) {
return flagValue._value;
}
}
return _defaultValue;
}