void copyAt(Vector3 other, double t)

Copy the position on this with a distance of t from origin into other.

Source

void copyAt(Vector3 other, double t) {
  other
    ..setFrom(_direction)
    ..scale(t)
    ..add(_origin);
}