increment method Null safety

  1. @override
Value increment(
  1. NumStatus m,
  2. Value valueI,
  3. int by
)
override

Increment a number by 1 or -1. It's convenient to do this here, because the DSZ and ISZ instructions work in both float and integer mode. //

Implementation

@override
Value increment(NumStatus m, Value valueI, int by) =>
    fromBigInt(toBigInt(valueI, m) + BigInt.from(by), m);