operator / method

Number operator /(
  1. dynamic other
)

Divide dos números manteniendo la precisión

Implementation

Number operator /(dynamic other) {
  final otherNum = _toNumber(other);
  if (otherNum._value == 0) {
    throw ArgumentError('División por cero no permitida');
  }
  return Number(value: _value / otherNum._value, decimals: _decimals);
}