OffsetPoint constructor

const OffsetPoint({
  1. required double dx,
  2. required double dy,
  3. required int timestamp,
})

2D point in canvas space. timestamp of this Offset. Used to determine velocity to other points.

Implementation

const OffsetPoint({
  required double dx,
  required double dy,
  required this.timestamp,
}) : super(dx, dy);