run method

dynamic run(
  1. void action(
      )
    )

    Implementation

    run(void Function() action) {
      if (_timer != null) {
        _timer?.cancel();
      }
    
      _timer = Timer(Duration(milliseconds: milliseconds), action);
    }