operator unary- method Null safety
Return the negation of a velocity.
Implementation
Velocity operator -() => Velocity(pixelsPerSecond: -pixelsPerSecond);
Return the negation of a velocity.
Velocity operator -() => Velocity(pixelsPerSecond: -pixelsPerSecond);