Point<num> polar(num len, num angle)

Source

static Point<num> polar(num len, num angle) =>
  new Point<num>(len * cos(angle), len * sin(angle));