subtract method

void subtract(
  1. int other
)

Subtracts other from the current value.

Implementation

void subtract(int other) => value = value - other;