DecodedNumeric constructor

DecodedNumeric(
  1. int newPosition,
  2. int _firstDigit,
  3. int _secondDigit
)

Implementation

DecodedNumeric(int newPosition, this._firstDigit, this._secondDigit)
    : super(newPosition) {
  if (_firstDigit < 0 ||
      _firstDigit > 10 ||
      _secondDigit < 0 ||
      _secondDigit > 10) {
    throw FormatsException.instance;
  }
}