asUint8 property

int get asUint8

Implementation

int get asUint8 {
  if (isNegative || this > mask8) {
    throw ArgumentException("Invalid Unsigned int 8.", details: {
      "excepted": mask32.bitLength,
      "bitLength": bitLength,
      "value": toString()
    });
  }
  return this;
}