asEndState

open override fun asEndState(): EndState

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