increment method

num? increment(
  1. Object? value
)

Increments: this.value + value

Implementation

num? increment(Object? value) {
  var result = parseNum(_value)! + parseNum(value)!;
  set(result);
  return asNum;
}