DelayService constructor

DelayService({
  1. int defaultDelay = 500,
})

Constructs a DelayService instance with an optional default delay.

Parameters:

  • defaultDelay: The initial default delay in milliseconds. Defaults to 500 milliseconds if not specified.

Implementation

DelayService({int defaultDelay = 500}) : _defaultDelay = defaultDelay;