Velocity operator +(Velocity other)

Return the sum of two velocities.

Source

Velocity operator +(Velocity other) {
  return new Velocity(
      pixelsPerSecond: pixelsPerSecond + other.pixelsPerSecond);
}