onTimer static method

void onTimer(
  1. Object? state
)

Implementation

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