setInterval method Null safety

void setInterval(
  1. int seconds
)

Implementation

void setInterval(int seconds) {
  if (seconds < 0) return;
  _pingInterval = seconds;
}