multiply method

Offset multiply(
  1. Offset other
)

Implementation

Offset multiply(Offset other) {
  return Offset(dx * other.dx, dy * other.dy);
}