asEndState

open fun asEndState(): EndState?

This state as an EndState, or null if isEndState is false.