run method

dynamic run(
  1. VoidCallback action
)

Implementation

run(VoidCallback action) {
  _timer?.cancel();
  _timer = Timer(Duration(milliseconds: milliseconds), action);
}