previousInList method

  1. @override
Step? previousInList(
  1. Step? step
)
override

Implementation

@override
Step? previousInList(Step? step) {
  if (history.isEmpty) {
    return null;
  }
  return history.removeLast();
}