serverTimingOn function
Not exported. true when the ServerTiming middleware is on for the current request. The router checks it before it times the controller, so a route without the middleware pays nothing more.
Implementation
bool serverTimingOn() {
return Zone.current[ServerTiming._key] is _Timings;
}