onTimer static method
Implementation
static void onTimer(Object? state) =>
(state! as CancellationTokenSource)._notifyCancellation(false);
static void onTimer(Object? state) =>
(state! as CancellationTokenSource)._notifyCancellation(false);