onGpuTimings method
Sets where each frame's GPU timings go, a frame or two after it was encoded; null stops them. Never called on a device whose supportsGpuTimestamps is false.
Implementation
@override
void onGpuTimings(void Function(GpuFrameTimings timings)? listener) =>
_timingListener = supportsGpuTimestamps ? listener : null;