RPTimerStep constructor

RPTimerStep({
  1. required String identifier,
  2. required Duration timeout,
  3. required String title,
  4. bool playSound = false,
  5. bool optional = false,
})

Creates a Timer Step with an identifier, title and duration. The RPTimerStep is a step in which the user waits for timeout before being allowed to proceed to next question.

Implementation

RPTimerStep(
    {required String identifier,
    required this.timeout,
    required this.title,
    this.playSound = false,
    bool optional = false})
    : super(identifier: identifier, title: title, optional: optional);