sOperate method

  1. @override
Velocity sOperate(
  1. Velocity vector,
  2. double scalar
)
override

Implementation

@override
Velocity sOperate(Velocity vector, double scalar) =>
    Velocity(pixelsPerSecond: vector.pixelsPerSecond * scalar);