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