multiply method

void multiply(
  1. int other
)

Multiplies the current value by other.

Implementation

void multiply(int other) => value = value * other;