operator unary- method Null safety

Velocity operator unary-()

Return the negation of a velocity.

Implementation

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