resolveWith<States, ResolverType> static method
StateProperty<States, ResolverType>
resolveWith<States, ResolverType>(
- StatefulResolver<
States, ResolverType> resolver
The most flexible StateProperty that allows for dynamically resolving behavior based on the provided set of states.
Implementation
static StateProperty<States, ResolverType> resolveWith<States, ResolverType>(
StatefulResolver<States, ResolverType> resolver) =>
_StatePropertyWhen<States, ResolverType>(resolver);