resolvePropAs<S, T> static method
Implementation
static T resolvePropAs<S, T>(T value, Set<S> states) {
if (value is StateProperty<S, T>) {
final StateProperty<S, T> property = value;
return property.resolveProp(states);
}
return value;
}