inc method

dynamic inc(
  1. int val,
  2. String unit
)

Alias of add.

Implementation

dynamic inc(int val, String unit) => add(val, unit);