asPositive property

int get asPositive

Implementation

int get asPositive {
  if (isNegative) {
    throw ArgumentException.invalidOperationArguments(
      "asPositive",
      reason: "Invalid unsigned integer.",
    );
  }
  return this;
}