reset method

  1. @override
Future<void> reset(
  1. String tour
)
override

Forgets that tour was finished, so it can run again.

Useful for a "replay the tour" button and for tests.

Implementation

@override
Future<void> reset(String tour) async {
  calls.add('reset:$tour');
  completed.remove(tour);
  indices.remove(tour);
}