subtract method

void subtract(
  1. num other
)

Subtracts other from the current value.

Implementation

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