resolveState<States, ResolverType> static method
StateProperty<States, ResolverType>
resolveState<States, ResolverType>(
- StatelessResolver<
ResolverType> resolver, - States state
Resolves the given behavior when in the provided state, otherwise null
.
Implementation
static StateProperty<States, ResolverType> resolveState<States, ResolverType>(
StatelessResolver<ResolverType> resolver, States state) =>
_StatePropertyValueWhenInState<States, ResolverType>(resolver, state);