OffsetPoint.from constructor

OffsetPoint.from(
  1. Offset offset
)

Implementation

factory OffsetPoint.from(Offset offset) => OffsetPoint(
      dx: offset.dx,
      dy: offset.dy,
      timestamp: DateTime.now().millisecondsSinceEpoch,
    );