OffsetPoint constructor

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

Creates an OffsetPoint with the given coordinates, timestamp, and optional pressure.

Implementation

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