Rxx<T> class
- Inheritance
-
- Object
- RxInterface<
T> - RxNotifier<
T> - Rx<
T> - Rxx
- Mixed-in types
- Available extensions
Constructors
- Rxx(T initial)
Properties
- bitLength → int?
-
Available on Rx<
Returns the minimum number of bits required to store this integer.int?> , provided by the RxnIntExt extensionno setter - bitLength → int
-
Available on Rx<
Returns the minimum number of bits required to store this integer.int> , provided by the RxIntExt extensionno setter - canUpdate → bool
-
no setterinherited
-
codeUnits
→ List<
int> -
Available on Rx<
Returns an unmodifiable list of the UTF-16 code units of this string.String> , provided by the RxStringExt extensionno setter -
codeUnits
→ List<
int> ? -
Available on Rx<
Returns an unmodifiable list of the UTF-16 code units of this string.String?> , provided by the RxnStringExt extensionno setter - firstRebuild ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Available on Rx<
Returns true if this string is empty.String> , provided by the RxStringExt extensionno setter - isEmpty → bool?
-
Available on Rx<
Returns true if this string is empty.String?> , provided by the RxnStringExt extensionno setter - isEven → bool?
-
Available on Rx<
Returns true if and only if this integer is even.int?> , provided by the RxnIntExt extensionno setter - isEven → bool
-
Available on Rx<
Returns true if and only if this integer is even.int> , provided by the RxIntExt extensionno setter - isFalse → bool
-
Available on Rx<
bool> , provided by the RxBoolExt extensionno setter - isFalse → bool?
-
Available on Rx<
bool?> , provided by the RxnBoolExt extensionno setter - isFinite → bool
-
Available on Rx<
True if the number is finite; otherwise, false.T> , provided by the RxNumExt extensionno setter - isFinite → bool?
-
Available on Rx<
True if the number is finite; otherwise, false.T?> , provided by the RxnNumExt extensionno setter - isInfinite → bool
-
Available on Rx<
True if the number is positive infinity or negative infinity; otherwise, false.T> , provided by the RxNumExt extensionno setter - isInfinite → bool?
-
Available on Rx<
True if the number is positive infinity or negative infinity; otherwise, false.T?> , provided by the RxnNumExt extensionno setter - isNaN → bool
-
Available on Rx<
True if the number is the double Not-a-Number value; otherwise, false.T> , provided by the RxNumExt extensionno setter - isNaN → bool?
-
Available on Rx<
True if the number is the double Not-a-Number value; otherwise, false.T?> , provided by the RxnNumExt extensionno setter - isNegative → bool?
-
Available on Rx<
True if the number is negative; otherwise, false.T?> , provided by the RxnNumExt extensionno setter - isNegative → bool
-
Available on Rx<
True if the number is negative; otherwise, false.T> , provided by the RxNumExt extensionno setter - isNotEmpty → bool?
-
Available on Rx<
Returns true if this string is not empty.String?> , provided by the RxnStringExt extensionno setter - isNotEmpty → bool
-
Available on Rx<
Returns true if this string is not empty.String> , provided by the RxStringExt extensionno setter - isOdd → bool?
-
Available on Rx<
Returns true if and only if this integer is odd.int?> , provided by the RxnIntExt extensionno setter - isOdd → bool
-
Available on Rx<
Returns true if and only if this integer is odd.int> , provided by the RxIntExt extensionno setter - isTrue → bool?
-
Available on Rx<
bool?> , provided by the RxnBoolExt extensionno setter - isTrue → bool
-
Available on Rx<
bool> , provided by the RxBoolExt extensionno setter - runes → Runes
-
Available on Rx<
Returns an Iterable of Unicode code-points of this string.String> , provided by the RxStringExt extensionno setter - runes → Runes?
-
Available on Rx<
Returns an Iterable of Unicode code-points of this string.String?> , provided by the RxnStringExt extensionno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sentToStream ↔ bool
-
getter/setter pairinherited
- sign → int?
-
Available on Rx<
Returns the sign of this integer.int?> , provided by the RxnIntExt extensionno setter - sign → int
-
Available on Rx<
Returns the sign of this integer.int> , provided by the RxIntExt extensionno setter - sign → double
-
Available on Rx<
Returns the sign of the double's numerical value.double> , provided by the RxDoubleExt extensionno setter - sign → num?
-
Available on Rx<
Returns minus one, zero or plus one depending on the sign and numerical value of the number.T?> , provided by the RxnNumExt extensionno setter - sign → num
-
Available on Rx<
Returns minus one, zero or plus one depending on the sign and numerical value of the number.T> , provided by the RxNumExt extensionno setter - sign → double?
-
Available on Rx<
Returns the sign of the double's numerical value.double?> , provided by the RxnDoubleExt extensionno setter -
state
↔ Rx<
RxStatus> -
getter/setter pairinherited
-
stream
→ Stream<
T> -
no setterinherited
- string → String
-
Same as
toString()
but using a getter.no setterinherited -
subject
↔ GetStream<
T> -
getter/setter pairinherited
- value ↔ T
-
Returns the current value
getter/setter pairinherited
Methods
-
abs(
) → num? -
Available on Rx<
Returns the absolute value of this num.T?> , provided by the RxnNumExt extension -
abs(
) → double -
Available on Rx<
Returns the absolute value of this double.double> , provided by the RxDoubleExt extension -
abs(
) → num -
Available on Rx<
Returns the absolute value of this num.T> , provided by the RxNumExt extension -
abs(
) → int - Returns the absolute value of this integer.
-
abs(
) → double? -
Available on Rx<
Returns the absolute value of this double.double?> , provided by the RxnDoubleExt extension -
abs(
) → int? - Returns the absolute value of this integer.
-
addError(
Object error, [StackTrace? stackTrace]) → void -
inherited
-
addListener(
GetStream< T> rxGetx) → void -
This is an internal method.
Subscribe to changes on the inner stream.
inherited
-
allMatches(
String string, [int start = 0]) → Iterable< Match> -
Available on Rx<
String> , provided by the RxStringExt extension -
allMatches(
String string, [int start = 0]) → Iterable< Match> ? -
Available on Rx<
String?> , provided by the RxnStringExt extension -
bindStream(
Stream< T> stream) → void -
Binds an existing
Stream<T>
to this Rxinherited -
call(
[T? v]) → T -
updates the value to
null
and adds it to the Stream. Even with null-safety coming, is still an important feature to support, ascall()
doesn't acceptnull
values. For instance,InputDecoration.errorText
has to be null to not show the "error state".inherited -
ceil(
) → int? -
Available on Rx<
Returnsint?> , provided by the RxnIntExt extensionthis
. -
ceil(
) → int -
Available on Rx<
Returns the least integer no smaller thanT> , provided by the RxNumExt extensionthis
. -
ceil(
) → int? -
Available on Rx<
Returns the least integer no smaller thanT?> , provided by the RxnNumExt extensionthis
. -
ceil(
) → int -
Available on Rx<
Returns the least integer no smaller thandouble> , provided by the RxDoubleExt extensionthis
. -
ceil(
) → int? -
Available on Rx<
Returns the least integer no smaller thandouble?> , provided by the RxnDoubleExt extensionthis
. -
ceil(
) → int -
Available on Rx<
Returnsint> , provided by the RxIntExt extensionthis
. -
ceilToDouble(
) → double -
Available on Rx<
Returns the least double integer value no smaller thanT> , provided by the RxNumExt extensionthis
. -
ceilToDouble(
) → double -
Available on Rx<
Returns the least integer double value no smaller thandouble> , provided by the RxDoubleExt extensionthis
. -
ceilToDouble(
) → double? -
Available on Rx<
Returns the least double integer value no smaller thanT?> , provided by the RxnNumExt extensionthis
. -
ceilToDouble(
) → double? -
Available on Rx<
Returns the least integer double value no smaller thandouble?> , provided by the RxnDoubleExt extensionthis
. -
ceilToDouble(
) → double? -
Available on Rx<
Returnsint?> , provided by the RxnIntExt extensionthis.toDouble()
. -
ceilToDouble(
) → double -
Available on Rx<
Returnsint> , provided by the RxIntExt extensionthis.toDouble()
. -
clamp(
num lowerLimit, num upperLimit) → num -
Available on Rx<
Returns this num clamped to be in the rangeT> , provided by the RxNumExt extensionlowerLimit
-upperLimit
. -
clamp(
num lowerLimit, num upperLimit) → num? -
Available on Rx<
Returns this num clamped to be in the rangeT?> , provided by the RxnNumExt extensionlowerLimit
-upperLimit
. -
close(
) → void -
Closes the subscriptions for this Rx, releasing the resources.
inherited
-
compareTo(
String other) → int -
Available on Rx<
String> , provided by the RxStringExt extension -
compareTo(
String other) → int? -
Available on Rx<
String?> , provided by the RxnStringExt extension -
contains(
Pattern other, [int startIndex = 0]) → bool? -
Available on Rx<
Returns true if this string contains a match ofString?> , provided by the RxnStringExt extensionother
: -
contains(
Pattern other, [int startIndex = 0]) → bool -
Available on Rx<
Returns true if this string contains a match ofString> , provided by the RxStringExt extensionother
: -
endsWith(
String other) → bool -
Available on Rx<
Returns true if this string ends withString> , provided by the RxStringExt extensionother
. For example: -
endsWith(
String other) → bool? -
Available on Rx<
Returns true if this string ends withString?> , provided by the RxnStringExt extensionother
. For example: -
floor(
) → int? -
Available on Rx<
Returns the greatest integer no greater thandouble?> , provided by the RxnDoubleExt extensionthis
. -
floor(
) → int -
Available on Rx<
Returns the greatest integer no greater thanT> , provided by the RxNumExt extensionthis
. -
floor(
) → int? -
Available on Rx<
Returnsint?> , provided by the RxnIntExt extensionthis
. -
floor(
) → int? -
Available on Rx<
Returns the greatest integer no greater thanT?> , provided by the RxnNumExt extensionthis
. -
floor(
) → int -
Available on Rx<
Returns the greatest integer no greater thandouble> , provided by the RxDoubleExt extensionthis
. -
floor(
) → int -
Available on Rx<
Returnsint> , provided by the RxIntExt extensionthis
. -
floorToDouble(
) → double -
Available on Rx<
Returnsint> , provided by the RxIntExt extensionthis.toDouble()
. -
floorToDouble(
) → double? -
Available on Rx<
Returns the greatest integer double value no greater thandouble?> , provided by the RxnDoubleExt extensionthis
. -
floorToDouble(
) → double -
Available on Rx<
Returns the greatest integer double value no greater thandouble> , provided by the RxDoubleExt extensionthis
. -
floorToDouble(
) → double? -
Available on Rx<
Returnsint?> , provided by the RxnIntExt extensionthis.toDouble()
. -
floorToDouble(
) → double -
Available on Rx<
Returns the greatest double integer value no greater thanT> , provided by the RxNumExt extensionthis
. -
floorToDouble(
) → double? -
Available on Rx<
Returns the greatest double integer value no greater thanT?> , provided by the RxnNumExt extensionthis
. -
gcd(
int other) → int -
Available on Rx<
Returns the greatest common divisor of this integer andint> , provided by the RxIntExt extensionother
. -
gcd(
int other) → int? -
Available on Rx<
Returns the greatest common divisor of this integer andint?> , provided by the RxnIntExt extensionother
. -
indexOf(
Pattern pattern, [int start = 0]) → int? -
Available on Rx<
Returns the position of the first match ofString?> , provided by the RxnStringExt extensionpattern
in this string -
indexOf(
Pattern pattern, [int start = 0]) → int -
Available on Rx<
Returns the position of the first match ofString> , provided by the RxStringExt extensionpattern
in this string -
lastIndexOf(
Pattern pattern, [int? start]) → int -
Available on Rx<
Returns the starting position of the last matchString> , provided by the RxStringExt extensionpattern
in this string, searching backward starting atstart
, inclusive: -
lastIndexOf(
Pattern pattern, [int? start]) → int? -
Available on Rx<
Returns the starting position of the last matchString?> , provided by the RxnStringExt extensionpattern
in this string, searching backward starting atstart
, inclusive: -
listen(
void onData(T), {Function? onError, void onDone()?, bool? cancelOnError}) → StreamSubscription< T> -
inherited
-
listenAndPump(
void onData(T event), {Function? onError, void onDone()?, bool? cancelOnError}) → StreamSubscription< T> -
Returns a StreamSubscription similar to listen, but with the
added benefit that it primes the stream with the current value, rather
than waiting for the next value. This should not be called in
onInit
or anywhere else during the build process.inherited -
map<
R> (R mapper(T? data)) → Stream< R> -
inherited
-
matchAsPrefix(
String string, [int start = 0]) → Match? -
Available on Rx<
String> , provided by the RxStringExt extension -
matchAsPrefix(
String string, [int start = 0]) → Match? -
Available on Rx<
String?> , provided by the RxnStringExt extension -
modInverse(
int modulus) → int -
Available on Rx<
Returns the modular multiplicative inverse of this integer moduloint> , provided by the RxIntExt extensionmodulus
. -
modInverse(
int modulus) → int? -
Available on Rx<
Returns the modular multiplicative inverse of this integer moduloint?> , provided by the RxnIntExt extensionmodulus
. -
modPow(
int exponent, int modulus) → int? -
Available on Rx<
Returns this integer to the power ofint?> , provided by the RxnIntExt extensionexponent
modulomodulus
. -
modPow(
int exponent, int modulus) → int -
Available on Rx<
Returns this integer to the power ofint> , provided by the RxIntExt extensionexponent
modulomodulus
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
padLeft(
int width, [String padding = ' ']) → String -
Available on Rx<
Pads this string on the left if it is shorter thanString> , provided by the RxStringExt extensionwidth
. -
padLeft(
int width, [String padding = ' ']) → String? -
Available on Rx<
Pads this string on the left if it is shorter thanString?> , provided by the RxnStringExt extensionwidth
. -
padRight(
int width, [String padding = ' ']) → String -
Available on Rx<
Pads this string on the right if it is shorter thanString> , provided by the RxStringExt extensionwidth
. Return a new string that appendspadding
after this string one time for each position the length is less thanwidth
. -
padRight(
int width, [String padding = ' ']) → String? -
Available on Rx<
Pads this string on the right if it is shorter thanString?> , provided by the RxnStringExt extensionwidth
. Return a new string that appendspadding
after this string one time for each position the length is less thanwidth
. -
refresh(
) → void -
Makes a direct update of value adding it to the Stream
useful when you make use of Rx for custom Types to referesh your UI.
inherited
-
remainder(
num other) → num? -
Available on Rx<
Returns the remainder of the truncating division ofT?> , provided by the RxnNumExt extensionthis
byother
. -
remainder(
num other) → num -
Available on Rx<
Returns the remainder of the truncating division ofT> , provided by the RxNumExt extensionthis
byother
. -
replaceAll(
Pattern from, String replace) → String -
Available on Rx<
Replaces all substrings that matchString> , provided by the RxStringExt extensionfrom
withreplace
. -
replaceAll(
Pattern from, String replace) → String? -
Available on Rx<
Replaces all substrings that matchString?> , provided by the RxnStringExt extensionfrom
withreplace
. -
round(
) → int? -
Available on Rx<
Returns the integer closest todouble?> , provided by the RxnDoubleExt extensionthis
. -
round(
) → int? -
Available on Rx<
Returns the integer closest toT?> , provided by the RxnNumExt extensionthis
. -
round(
) → int -
Available on Rx<
Returnsint> , provided by the RxIntExt extensionthis
. -
round(
) → int -
Available on Rx<
Returns the integer closest toT> , provided by the RxNumExt extensionthis
. -
round(
) → int? -
Available on Rx<
Returnsint?> , provided by the RxnIntExt extensionthis
. -
round(
) → int -
Available on Rx<
Returns the integer closest todouble> , provided by the RxDoubleExt extensionthis
. -
roundToDouble(
) → double? -
Available on Rx<
Returns the integer double value closest todouble?> , provided by the RxnDoubleExt extensionthis
. -
roundToDouble(
) → double -
Available on Rx<
Returns the double integer value closest toT> , provided by the RxNumExt extensionthis
. -
roundToDouble(
) → double? -
Available on Rx<
Returns the double integer value closest toT?> , provided by the RxnNumExt extensionthis
. -
roundToDouble(
) → double -
Available on Rx<
Returns the integer double value closest todouble> , provided by the RxDoubleExt extensionthis
. -
roundToDouble(
) → double -
Available on Rx<
Returnsint> , provided by the RxIntExt extensionthis.toDouble()
. -
roundToDouble(
) → double? -
Available on Rx<
Returnsint?> , provided by the RxnIntExt extensionthis.toDouble()
. -
setEmpty(
) → void -
override
-
setError(
{String? message}) → void -
override
-
setLoading(
) → void -
override
-
setLoadingMore(
) → void -
inherited
-
setSuccess(
) → void -
override
-
split(
Pattern pattern) → List< String> -
Available on Rx<
Splits the string at matches ofString> , provided by the RxStringExt extensionpattern
and returns a list of substrings. -
split(
Pattern pattern) → List< String> ? -
Available on Rx<
Splits the string at matches ofString?> , provided by the RxnStringExt extensionpattern
and returns a list of substrings. -
startsWith(
Pattern pattern, [int index = 0]) → bool? -
Available on Rx<
Returns true if this string starts with a match ofString?> , provided by the RxnStringExt extensionpattern
. -
startsWith(
Pattern pattern, [int index = 0]) → bool -
Available on Rx<
Returns true if this string starts with a match ofString> , provided by the RxStringExt extensionpattern
. -
substring(
int startIndex, [int? endIndex]) → String? -
Available on Rx<
Returns the substring of this string that extends fromString?> , provided by the RxnStringExt extensionstartIndex
, inclusive, toendIndex
, exclusive -
substring(
int startIndex, [int? endIndex]) → String -
Available on Rx<
Returns the substring of this string that extends fromString> , provided by the RxStringExt extensionstartIndex
, inclusive, toendIndex
, exclusive -
toDouble(
) → double? -
Available on Rx<
Return this num as a double.T?> , provided by the RxnNumExt extension -
toDouble(
) → double -
Available on Rx<
Return this num as a double.T> , provided by the RxNumExt extension -
toggle(
) → Rx< bool> -
Available on Rx<
Toggles the bool value between false and true. A shortcut forbool> , provided by the RxBoolExt extensionflag.value = !flag.value;
FIXME: why return this? fluent interface is not not really a dart thing since we have '..' operator -
toggle(
) → Rx< bool?> ? -
Available on Rx<
Toggles the bool value between false and true. A shortcut forbool?> , provided by the RxnBoolExt extensionflag.value = !flag.value;
FIXME: why return this? fluent interface is not not really a dart thing since we have '..' operator -
toInt(
) → int? -
Available on Rx<
Truncates this num to an integer and returns the result as an int. */T?> , provided by the RxnNumExt extension -
toInt(
) → int -
Available on Rx<
Truncates this num to an integer and returns the result as an int. */T> , provided by the RxNumExt extension -
toJson(
) → dynamic -
Returns the json representation of
value
.inherited -
toLowerCase(
) → String -
Available on Rx<
Converts all characters in this string to lower case. If the string is already in all lower case, this method returnsString> , provided by the RxStringExt extensionthis
. -
toLowerCase(
) → String? -
Available on Rx<
Converts all characters in this string to lower case. If the string is already in all lower case, this method returnsString?> , provided by the RxnStringExt extensionthis
. -
toSigned(
int width) → int? -
Available on Rx<
Returns the least significantint?> , provided by the RxnIntExt extensionwidth
bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit inwidth
bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher thanwidth
. -
toSigned(
int width) → int -
Available on Rx<
Returns the least significantint> , provided by the RxIntExt extensionwidth
bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit inwidth
bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher thanwidth
. -
toString(
) → String -
A string representation of this object.
inherited
-
toStringAsExponential(
[int? fractionDigits]) → String? -
Available on Rx<
Returns an exponential string-representation ofT?> , provided by the RxnNumExt extensionthis
. -
toStringAsExponential(
[int? fractionDigits]) → String -
Available on Rx<
Returns an exponential string-representation ofT> , provided by the RxNumExt extensionthis
. -
toStringAsFixed(
int fractionDigits) → String? -
Available on Rx<
Returns a decimal-point string-representation ofT?> , provided by the RxnNumExt extensionthis
. -
toStringAsFixed(
int fractionDigits) → String -
Available on Rx<
Returns a decimal-point string-representation ofT> , provided by the RxNumExt extensionthis
. -
toStringAsPrecision(
int precision) → String? -
Available on Rx<
ConvertsT?> , provided by the RxnNumExt extensionthis
to a double and returns a string representation with exactlyprecision
significant digits. -
toStringAsPrecision(
int precision) → String -
Available on Rx<
ConvertsT> , provided by the RxNumExt extensionthis
to a double and returns a string representation with exactlyprecision
significant digits. -
toUnsigned(
int width) → int -
Available on Rx<
Returns the least significantint> , provided by the RxIntExt extensionwidth
bits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher thanwidth
. -
toUnsigned(
int width) → int? -
Available on Rx<
Returns the least significantint?> , provided by the RxnIntExt extensionwidth
bits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher thanwidth
. -
toUpperCase(
) → String? -
Available on Rx<
Converts all characters in this string to upper case. If the string is already in all upper case, this method returnsString?> , provided by the RxnStringExt extensionthis
. -
toUpperCase(
) → String -
Available on Rx<
Converts all characters in this string to upper case. If the string is already in all upper case, this method returnsString> , provided by the RxStringExt extensionthis
. -
trigger(
T v) → void -
Following certain practices on Rx data, we might want to react to certain
listeners when a value has been provided, even if the value is the same.
At the moment, we ignore part of the process if we
.call(value)
with the same value since it holds the value and there's no real need triggering the entire process for the same value inside, but there are other situations where we might be interested in triggering this.inherited -
trim(
) → String? -
Available on Rx<
Returns the string without any leading and trailing whitespace.String?> , provided by the RxnStringExt extension -
trim(
) → String -
Available on Rx<
Returns the string without any leading and trailing whitespace.String> , provided by the RxStringExt extension -
trimLeft(
) → String -
Available on Rx<
Returns the string without any leading whitespace.String> , provided by the RxStringExt extension -
trimLeft(
) → String? -
Available on Rx<
Returns the string without any leading whitespace.String?> , provided by the RxnStringExt extension -
trimRight(
) → String -
Available on Rx<
Returns the string without any trailing whitespace.String> , provided by the RxStringExt extension -
trimRight(
) → String? -
Available on Rx<
Returns the string without any trailing whitespace.String?> , provided by the RxnStringExt extension -
truncate(
) → int -
Available on Rx<
Returns the integer obtained by discarding any fractional digits fromT> , provided by the RxNumExt extensionthis
. -
truncate(
) → int? -
Available on Rx<
Returns the integer obtained by discarding any fractional digits fromT?> , provided by the RxnNumExt extensionthis
. -
truncate(
) → int? -
Available on Rx<
Returns the integer obtained by discarding any fractional digits fromdouble?> , provided by the RxnDoubleExt extensionthis
. -
truncate(
) → int -
Available on Rx<
Returnsint> , provided by the RxIntExt extensionthis
. -
truncate(
) → int -
Available on Rx<
Returns the integer obtained by discarding any fractional digits fromdouble> , provided by the RxDoubleExt extensionthis
. -
truncate(
) → int? -
Available on Rx<
Returnsint?> , provided by the RxnIntExt extensionthis
. -
truncateToDouble(
) → double? -
Available on Rx<
Returns the integer double value obtained by discarding any fractional digits fromdouble?> , provided by the RxnDoubleExt extensionthis
. -
truncateToDouble(
) → double -
Available on Rx<
Returnsint> , provided by the RxIntExt extensionthis.toDouble()
. -
truncateToDouble(
) → double? -
Available on Rx<
Returnsint?> , provided by the RxnIntExt extensionthis.toDouble()
. -
truncateToDouble(
) → double -
Available on Rx<
Returns the integer double value obtained by discarding any fractional digits fromdouble> , provided by the RxDoubleExt extensionthis
. -
truncateToDouble(
) → double -
Available on Rx<
Returns the double integer value obtained by discarding any fractional digits from the double value ofT> , provided by the RxNumExt extensionthis
. -
truncateToDouble(
) → double? -
Available on Rx<
Returns the double integer value obtained by discarding any fractional digits from the double value ofT?> , provided by the RxnNumExt extensionthis
. -
update(
void fn(T? val)) → void -
Uses a callback to update value internally, similar to refresh,
but provides the current value as the argument.
Makes sense for custom Rx types (like Models).
inherited
Operators
-
operator %(
num other) → num - Euclidean modulo operator.
-
operator %(
num other) → double -
Available on Rx<
double> , provided by the RxDoubleExt extension -
operator %(
num other) → num? - Euclidean modulo operator.
-
operator %(
num other) → double? -
Available on Rx<
double?> , provided by the RxnDoubleExt extension -
operator &(
bool other) → bool? -
Available on Rx<
bool?> , provided by the RxnBoolExt extension -
operator &(
bool other) → bool -
operator &(
int other) → int - Bit-wise and operator.
-
operator &(
int other) → int? - Bit-wise and operator.
-
operator *(
num other) → double -
Available on Rx<
Multiplication operator.double> , provided by the RxDoubleExt extension -
operator *(
num other) → double? -
Available on Rx<
Multiplication operator.double?> , provided by the RxnDoubleExt extension -
operator *(
num other) → num - Multiplication operator.
-
operator *(
num other) → num? - Multiplication operator.
-
operator +(
String val) → String -
Available on Rx<
String> , provided by the RxStringExt extension -
operator +(
num other) → Rx< double?> ? -
Available on Rx<
Addition operator.double?> , provided by the RxnDoubleExt extension -
operator +(
num other) → Rx< double> -
Available on Rx<
Addition operator.double> , provided by the RxDoubleExt extension -
operator +(
String val) → String -
Available on Rx<
String?> , provided by the RxnStringExt extension -
operator -(
num other) → Rx< double> -
Available on Rx<
Subtraction operator.double> , provided by the RxDoubleExt extension -
operator -(
num other) → Rx< double?> ? -
Available on Rx<
Subtraction operator.double?> , provided by the RxnDoubleExt extension -
operator /(
num other) → double? - Division operator.
-
operator /(
num other) → double -
Available on Rx<
Division operator.double> , provided by the RxDoubleExt extension -
operator /(
num other) → double? -
Available on Rx<
Division operator.double?> , provided by the RxnDoubleExt extension -
operator /(
num other) → double - Division operator.
-
operator <(
num other) → bool - Relational less than operator.
-
operator <(
num other) → bool? - Relational less than operator.
-
operator <<(
int shiftAmount) → int -
Available on Rx<
Shift the bits of this integer to the left byint> , provided by the RxIntExt extensionshiftAmount
. -
operator <<(
int shiftAmount) → int? -
Available on Rx<
Shift the bits of this integer to the left byint?> , provided by the RxnIntExt extensionshiftAmount
. -
operator <=(
num other) → bool - Relational less than or equal operator.
-
operator <=(
num other) → bool? - Relational less than or equal operator.
-
operator ==(
Object o) → bool -
This equality override works for _RxImpl instances and the internal
values.
inherited
-
operator >(
num other) → bool? - Relational greater than operator.
-
operator >(
num other) → bool - Relational greater than operator.
-
operator >=(
num other) → bool? - Relational greater than or equal operator.
-
operator >=(
num other) → bool - Relational greater than or equal operator.
-
operator >>(
int shiftAmount) → int? -
Available on Rx<
Shift the bits of this integer to the right byint?> , provided by the RxnIntExt extensionshiftAmount
. -
operator >>(
int shiftAmount) → int -
Available on Rx<
Shift the bits of this integer to the right byint> , provided by the RxIntExt extensionshiftAmount
. -
operator ^(
bool other) → bool? -
Available on Rx<
bool?> , provided by the RxnBoolExt extension -
operator ^(
int other) → int - Bit-wise exclusive-or operator.
-
operator ^(
int other) → int? - Bit-wise exclusive-or operator.
-
operator ^(
bool other) → bool -
operator unary-(
) → num? - Negate operator.
-
operator unary-(
) → num - Negate operator.
-
operator unary-(
) → int - Return the negative value of this integer.
-
operator unary-(
) → double -
Available on Rx<
Negate operator. */double> , provided by the RxDoubleExt extension -
operator unary-(
) → int? - Return the negative value of this integer.
-
operator unary-(
) → double? -
Available on Rx<
Negate operator. */double?> , provided by the RxnDoubleExt extension -
operator |(
int other) → int? - Bit-wise or operator.
-
operator |(
bool other) → bool? -
Available on Rx<
bool?> , provided by the RxnBoolExt extension -
operator |(
int other) → int - Bit-wise or operator.
-
operator |(
bool other) → bool -
operator ~(
) → int? - The bit-wise negate operator.
-
operator ~(
) → int - The bit-wise negate operator.
-
operator ~/(
num other) → int -
Available on Rx<
Truncating division operator.double> , provided by the RxDoubleExt extension -
operator ~/(
num other) → int - Truncating division operator.
-
operator ~/(
num other) → int? -
Available on Rx<
Truncating division operator.double?> , provided by the RxnDoubleExt extension -
operator ~/(
num other) → int? - Truncating division operator.