scalarMultiply method

Offset scalarMultiply(
  1. double scalar
)

Implementation

Offset scalarMultiply(double scalar) => Offset(dx * scalar, dy * scalar);