FrameTiming constructor
Construct FrameTiming with raw timestamps in microseconds.
List timestamps
must have the same number of elements as
FramePhase.values.
This constructor is usually only called by the Flutter engine, or a test. To get the FrameTiming of your app, see Window.onReportTimings.
Implementation
FrameTiming(List<int> timestamps)
: assert(timestamps.length == FramePhase.values.length), _timestamps = timestamps;