operator unary- method

Velocity operator unary- ()

Return the negation of a velocity.

Implementation

Velocity operator -() => Velocity(pixelsPerSecond: -pixelsPerSecond);