setInterval method Null safety

void setInterval(
  1. int? value
)

Sets periodic timer triggering interval.

  • value an interval in milliseconds.