resolveState<States, ResolverType> static method

StateProperty<States, ResolverType> resolveState<States, ResolverType>(
  1. StatelessResolver<ResolverType> resolver,
  2. 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);