run method

void run()

Implementation

void run() {
  _timer = Timer(delay, () {
    function();
  });
}