lastFrameTime property

Duration get lastFrameTime

Duration of the last frame (time between renders).

Implementation

Duration get lastFrameTime =>
    _frameTimes.isEmpty ? Duration.zero : _frameTimes.last;