getCurrentPosition method

Offset getCurrentPosition()

Implementation

Offset getCurrentPosition() {
  return Offset(
    startX + cos(angle) * currentDistance,
    startY + sin(angle) * currentDistance,
  );
}