Future waitAndRun(Duration time, dynamic action())

Source

static Future waitAndRun(Duration time, action()) {
  return new Future.delayed(time, action);
}