QrEciValue extension type
- on
- Implemented types
- Available extensions
Constructors
- QrEciValue(int value)
-
const
Properties
-
address
→ Pointer<
Never> -
Available on int, provided by the IntAddress extension
The memory address of the underlying data.no setter - bitLength → int
-
Returns the minimum number of bits required to store this integer.
no setterinherited
- gregorianMonthName → String
-
Available on int, provided by the IntExtesion extension
no setter - hashCode → int
-
Returns a hash code for a numerical value.
no setterinherited
- isEven → bool
-
Returns true if and only if this integer is even.
no setterinherited
- isFinite → bool
-
Whether this number is finite.
no setterinherited
- isInfinite → bool
-
Whether this number is positive infinity or negative infinity.
no setterinherited
- isNaN → bool
-
Whether this number is a Not-a-Number value.
no setterinherited
- isNegative → bool
-
Whether this number is negative.
no setterinherited
- isOdd → bool
-
Returns true if and only if this integer is odd.
no setterinherited
- jalaliMonthName → String
-
Available on int, provided by the IntExtesion extension
no setter - obs → RxInt
-
Available on int, provided by the RxIntExt extension
no setter - obs → RxnInt
-
Available on int?, provided by the RxnIntExt extension
no setter - obs → RxnNum
-
Available on num?, provided by the RxnNumExt extension
no setter - obs → RxNum
-
Available on num, provided by the RxNumExt extension
no setter - oneBitCount → int
-
The number of
1bits in the binary representation of this integer.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sign → int
-
Returns the sign of this integer.
no setterinherited
- toJS → JSNumber
-
Available on num, provided by the NumToJSExtension extension
Converts this num to a JSNumber.no setter - trailingZeroBitCount → int
-
The number of trailing (least significant) zero bits in the binary
representation of this integer.
no setterinherited
- value → int
-
final
Methods
-
abs(
) → int -
Returns the absolute value of this integer.
inherited
-
ceil(
) → int -
Returns
this.inherited -
ceilToDouble(
) → double -
Returns
this.toDouble().inherited -
clamp(
num lowerLimit, num upperLimit) → num -
Returns this num clamped to be in the range
lowerLimit-upperLimit.inherited -
compareTo(
num other) → int -
Compares this to
other.inherited -
floor(
) → int -
Returns
this.inherited -
floorToDouble(
) → double -
Returns
this.toDouble().inherited -
gcd(
int other) → int -
Returns the greatest common divisor of this integer and
other.inherited -
getMonthName(
bool isJalali) → String -
Available on int, provided by the IntExtesion extension
-
modInverse(
int modulus) → int -
Returns the modular multiplicative inverse of this integer
modulo
modulus.inherited -
modPow(
int exponent, int modulus) → int -
Returns this integer to the power of
exponentmodulomodulus.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remainder(
num other) → num -
The remainder of the truncating division of
thisbyother.inherited -
rial(
{bool removeNegative = false}) → String -
Available on int?, provided by the OptionalIntExtension extension
-
rial(
{bool removeNegative = false}) → String -
Available on int, provided by the IntExtesion extension
-
rialToToman(
{bool removeNegative = false}) → String -
Available on int?, provided by the OptionalIntExtension extension
-
rialToToman(
{bool removeNegative = false}) → String -
Available on int, provided by the IntExtesion extension
-
round(
) → int -
Returns
this.inherited -
roundToDouble(
) → double -
Returns
this.toDouble().inherited -
secondsToTimeLeft(
) → String -
Available on int, provided by the IntExtesion extension
-
separate3By3(
{bool removeNegative = false}) → String -
Available on int, provided by the IntExtesion extension
-
subtractClamping(
int subtract, {int minValue = 0, int maxValue = 999999999}) → int -
Available on int, provided by the IntExtesion extension
-
toBKMG(
) → String -
Available on num, provided by the NumExtension extension
-
toDouble(
) → double -
This number as a double.
inherited
-
toInt(
) → int -
Truncates this num to an integer and returns the result as an int.
inherited
-
toKMB(
) → String -
Available on int, provided by the IntExtesion extension
-
toLocationPermission(
) → LocationPermission -
Available on int, provided by the IntergerExtensions extension
Tries to convert the int value to a LocationPermission enum value. -
toman(
{bool removeNegative = false}) → String -
Available on int, provided by the IntExtesion extension
-
toman(
{bool removeNegative = false}) → String -
Available on int?, provided by the OptionalIntExtension extension
-
toRadixString(
int radix) → String -
Converts this int to a string representation in the given
radix.inherited -
toSigned(
int width) → int -
Returns the least significant
widthbits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit inwidthbits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher thanwidth.inherited -
toString(
) → String -
Returns a string representation of this integer.
inherited
-
toStringAsExponential(
[int? fractionDigits]) → String -
An exponential string-representation of this number.
inherited
-
toStringAsFixed(
int fractionDigits) → String -
A decimal-point string-representation of this number.
inherited
-
toStringAsPrecision(
int precision) → String -
A string representation with
precisionsignificant digits.inherited -
toStringOrEmptyIfNull(
) → String -
Available on int?, provided by the OptionalIntExtension extension
-
toUnsigned(
int width) → int -
Returns the least significant
widthbits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher thanwidth.inherited -
truncate(
) → int -
Returns
this.inherited -
truncateToDouble(
) → double -
Returns
this.toDouble().inherited
Operators
-
operator %(
num other) → num -
Euclidean modulo of this number by
other.inherited -
operator &(
int other) → int -
Bit-wise and operator.
inherited
-
operator *(
num other) → num -
Multiplies this number by
other.inherited -
operator +(
num other) → num -
Adds
otherto this number.inherited -
operator -(
num other) → num -
Subtracts
otherfrom this number.inherited -
operator /(
num other) → double -
Divides this number by
other.inherited -
operator <(
num other) → bool -
Whether this number is numerically smaller than
other.inherited -
operator <<(
int shiftAmount) → int -
Shift the bits of this integer to the left by
shiftAmount.inherited -
operator <=(
num other) → bool -
Whether this number is numerically smaller than or equal to
other.inherited -
operator ==(
Object other) → bool -
Test whether this value is numerically equal to
other.inherited -
operator >(
num other) → bool -
Whether this number is numerically greater than
other.inherited -
operator >=(
num other) → bool -
Whether this number is numerically greater than or equal to
other.inherited -
operator >>(
int shiftAmount) → int -
Shift the bits of this integer to the right by
shiftAmount.inherited -
operator >>>(
int shiftAmount) → int -
Bitwise unsigned right shift by
shiftAmountbits.inherited -
operator ^(
int other) → int -
Bit-wise exclusive-or operator.
inherited
-
operator unary-(
) → int -
Return the negative value of this integer.
inherited
-
operator |(
int other) → int -
Bit-wise or operator.
inherited
-
operator ~(
) → int -
The bit-wise negate operator.
inherited
-
operator ~/(
num other) → int -
Truncating division operator.
inherited
Constants
- ascii → const QrEciValue
- big5 → const QrEciValue
- eucKr → const QrEciValue
- gb2312 → const QrEciValue
- gbk → const QrEciValue
- iso8859_1 → const QrEciValue
- iso8859_2 → const QrEciValue
- iso8859_3 → const QrEciValue
- iso8859_4 → const QrEciValue
- iso8859_5 → const QrEciValue
- iso8859_6 → const QrEciValue
- iso8859_7 → const QrEciValue
- iso8859_8 → const QrEciValue
- iso8859_9 → const QrEciValue
- iso8859_10 → const QrEciValue
- iso8859_11 → const QrEciValue
- iso8859_13 → const QrEciValue
- iso8859_14 → const QrEciValue
- iso8859_15 → const QrEciValue
- iso8859_16 → const QrEciValue
- shiftJis → const QrEciValue
- utf8 → const QrEciValue
- utf16BE → const QrEciValue
- windows1250 → const QrEciValue
- windows1251 → const QrEciValue
- windows1252 → const QrEciValue
- windows1256 → const QrEciValue