backIsPossible method

bool backIsPossible()

Returns true if the history is not empty. This means that the back method will have an effect.

Implementation

bool backIsPossible() => (_history?.length ?? 0) > 1;