cancel static method

void cancel(
  1. Timer? timer
)

Implementation

static void cancel(Timer? timer) {
  timer?.cancel();
}