handleDecimalPoint method Null safety

  1. @override
void handleDecimalPoint()
override

Implementation

@override
void handleDecimalPoint() {
  if (_exponent == null) {
    if (_entered == '') {
      _tryNewValue('0$_entered.', _sign, _exponent, _negativeExponent);
    } else {
      _tryNewValue('$_entered.', _sign, _exponent, _negativeExponent);
    }
  }
}