transientCallbackCount property Null safety
The current number of transient frame callbacks scheduled.
This is reset to zero just before all the currently scheduled transient callbacks are called, at the start of a frame.
This number is primarily exposed so that tests can verify that there are no unexpected transient callbacks still registered after a test's resources have been gracefully disposed.
int get transientCallbackCount => _transientCallbacks.length;