begin method

void begin(
  1. Offset point, {
  2. double velocity = 0.0,
})

Starts path at given point. Must be called as first, before begin, end.

Implementation

void begin(Offset point, {double velocity = 0.0}) {
  _points.add(point is OffsetPoint ? point : OffsetPoint.from(point));
  _currentVelocity = velocity;
}