prevState property

BishopState? prevState

Implementation

BishopState? get prevState =>
    history.length > 1 ? history[history.length - 2] : null;