asUint16 property
int
get
asUint16
Implementation
int get asUint16 {
if (isNegative || this > mask16) {
throw ArgumentException("Invalid Unsigned int 16.", details: {
"expected": mask16.bitLength,
"bitLength": bitLength,
"value": toString()
});
}
return this;
}