handlePointerEventRecord method Null safety

Future<List<Duration>> handlePointerEventRecord(
  1. List<PointerEventRecord> records
)

A simulator of how the framework handles a series of PointerEvents received from the Flutter engine.

The PointerEventRecord.timeDelay is used as the time delay of the events injection relative to the starting point of the method call.

Returns a list of the difference between the real delay time when the PointerEventRecord.events are processed and PointerEventRecord.timeDelay.

The closer the return values are to zero the more faithful it is to the records.

See PointerEventRecord.

Implementation

Future<List<Duration>> handlePointerEventRecord(List<PointerEventRecord> records);