Rx<T> class
A reactive value holder that uses Flutter's ValueNotifier under the hood
- Inheritance
- Implemented types
- Implementers
- Available extensions
- RxAsyncErrorHandling
- RxBoolExtensions
- RxComputedExtensions
- RxDoubleExtensions
- RxErrorHandling
- RxIntExtensions
- RxListExtensions
- RxListTransformations
- RxMapExtensions
- RxNullableErrorHandling
- RxNullableTransformations
- RxPerformanceExtensions
- RxSetExtensions
- RxStringExtensions
- RxTimingExtensions
- RxTransformations
Constructors
- Rx.new(T initialValue)
Properties
- abs → double
-
Available on Rx<
Get absolute valuedouble> , provided by the RxDoubleExtensions extensionno setter - abs → int
-
Available on Rx<
Get absolute valueint> , provided by the RxIntExtensions extensionno setter -
entries
→ Iterable<
MapEntry< K, V> > -
Available on Rx<
Map< , provided by the RxMapExtensions extensionK, V> >no setter - first → T
-
Available on Rx<
Get first element (throws if empty - matchesList< , provided by the RxListExtensions extensionT> >List<T>.first
behavior)no setter - firstOrNull → T?
-
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> >no setter - firstOrNull → T?
-
Available on Rx<
List< , provided by the RxListExtensions extensionT> >no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- hasValue → bool
-
Available on Rx<
Check if value is not nullT?> , provided by the RxNullableErrorHandling extensionno setter - isDisposed → bool
-
Whether this Rx instance has been disposed
no setter
- isEmpty → bool
-
Available on Rx<
Check if string is emptyString> , provided by the RxStringExtensions extensionno setter - isEmpty → bool
-
Available on Rx<
List< , provided by the RxListExtensions extensionT> >no setter - isEmpty → bool
-
Available on Rx<
Map< , provided by the RxMapExtensions extensionK, V> >no setter - isEmpty → bool
-
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> >no setter - isEven → bool
-
Available on Rx<
Check if number is evenint> , provided by the RxIntExtensions extensionno setter - isFinite → bool
-
Available on Rx<
Check if number is finitedouble> , provided by the RxDoubleExtensions extensionno setter - isInfinite → bool
-
Available on Rx<
Check if number is infinitedouble> , provided by the RxDoubleExtensions extensionno setter - isNaN → bool
-
Available on Rx<
Check if number is NaNdouble> , provided by the RxDoubleExtensions extensionno setter - isNegative → bool
-
Available on Rx<
Check if number is negativedouble> , provided by the RxDoubleExtensions extensionno setter - isNegative → bool
-
Available on Rx<
Check if number is negativeint> , provided by the RxIntExtensions extensionno setter - isNotEmpty → bool
-
Available on Rx<
List< , provided by the RxListExtensions extensionT> >no setter - isNotEmpty → bool
-
Available on Rx<
Check if string is not emptyString> , provided by the RxStringExtensions extensionno setter - isNotEmpty → bool
-
Available on Rx<
Map< , provided by the RxMapExtensions extensionK, V> >no setter - isNotEmpty → bool
-
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> >no setter - isOdd → bool
-
Available on Rx<
Check if number is oddint> , provided by the RxIntExtensions extensionno setter -
keys
→ Iterable<
K> -
Available on Rx<
Map< , provided by the RxMapExtensions extensionK, V> >no setter - last → T
-
Available on Rx<
Get last element (throws if empty - matchesList< , provided by the RxListExtensions extensionT> >List<T>.last
behavior)no setter - lastOrNull → T?
-
Available on Rx<
List< , provided by the RxListExtensions extensionT> >no setter - lastOrNull → T?
-
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> >no setter - length → int
-
Available on Rx<
List< , provided by the RxListExtensions extensionT> >no setter - length → int
-
Available on Rx<
Get string lengthString> , provided by the RxStringExtensions extensionno setter - length → int
-
Available on Rx<
Map< , provided by the RxMapExtensions extensionK, V> >no setter - length → int
-
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> >no setter -
performanceStats
→ Map<
String, dynamic> -
Available on Rx<
Get performance statisticsT> , provided by the RxPerformanceExtensions extensionno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
rxFirst
→ RxComputed<
T?> -
Available on Rx<
Get first element (or null)List< , provided by the RxListTransformations extensionT> >no setter -
rxIsEmpty
→ RxComputed<
bool> -
Available on Rx<
Check if list is emptyList< , provided by the RxListTransformations extensionT> >no setter -
rxLast
→ RxComputed<
T?> -
Available on Rx<
Get last element (or null)List< , provided by the RxListTransformations extensionT> >no setter -
rxLength
→ RxComputed<
int> -
Available on Rx<
Get list length as reactive valueList< , provided by the RxListTransformations extensionT> >no setter - sign → double
-
Available on Rx<
Get sign (-1.0, 0.0, or 1.0) - NOTE: double.sign returns double!double> , provided by the RxDoubleExtensions extensionno setter - sign → int
-
Available on Rx<
Get sign (-1, 0, or 1)int> , provided by the RxIntExtensions extensionno setter - single → T
-
Available on Rx<
Get single element (throws if empty or more than one - matchesList< , provided by the RxListExtensions extensionT> >List<T>.single
behavior)no setter - singleOrNull → T?
-
Available on Rx<
List< , provided by the RxListExtensions extensionT> >no setter - singleOrNull → T?
-
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> >no setter -
tryFirst
→ RxResult<
T> -
Available on Rx<
List< , provided by the RxListExtensions extensionT> >no setter -
tryFirst
→ RxResult<
T> -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> >no setter -
tryLast
→ RxResult<
T> -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> >no setter -
tryLast
→ RxResult<
T> -
Available on Rx<
List< , provided by the RxListExtensions extensionT> >no setter -
trySingle
→ RxResult<
T> -
Available on Rx<
List< , provided by the RxListExtensions extensionT> >no setter -
trySingle
→ RxResult<
T> -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> >no setter - value ↔ T
-
The current value stored in this notifier.
getter/setter pairoverride
-
values
→ Iterable<
V> -
Available on Rx<
Map< , provided by the RxMapExtensions extensionK, V> >no setter
Methods
-
add(
T element) → void -
Available on Rx<
Add element (convenience method that calls tryAdd internally)List< , provided by the RxListExtensions extensionT> > -
add(
T item) → bool -
Available on Rx<
Add item (convenience method)Set< , provided by the RxSetExtensions extensionT> > -
addAll(
Map< K, V> other) → void -
Available on Rx<
Add all entries (convenience method)Map< , provided by the RxMapExtensions extensionK, V> > -
addAll(
Iterable< T> elements) → void -
Available on Rx<
Add all items (convenience method)Set< , provided by the RxSetExtensions extensionT> > -
addAll(
Iterable< T> elements) → void -
Available on Rx<
Add all elements (convenience method that calls tryAddAll internally)List< , provided by the RxListExtensions extensionT> > -
addEntries(
Iterable< MapEntry< newEntries) → voidK, V> > -
Available on Rx<
Add entries (convenience method)Map< , provided by the RxMapExtensions extensionK, V> > -
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
any(
bool test(T element)) → bool -
Available on Rx<
List< , provided by the RxListExtensions extensionT> > -
any(
bool test(T)) → bool -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
append(
String text) → void -
Available on Rx<
Append text (convenience method)String> , provided by the RxStringExtensions extension -
asNullable(
) → RxComputed< T?> -
Available on Rx<
Convert to nullable typeT> , provided by the RxTransformations extension -
buffer(
Duration duration, void callback(List< T> values)) → void -
Available on Rx<
Buffer value changes for specified durationT> , provided by the RxTimingExtensions extension -
bulkUpdate(
void updater(List< T> items)) → void -
Available on Rx<
Perform bulk updates efficiently (only one notification)List< , provided by the RxListExtensions extensionT> > -
call(
) → T -
Call operator for consistent access patterns
override
-
cast<
RK, RV> () → Map< RK, RV> -
Available on Rx<
Map< , provided by the RxMapExtensions extensionK, V> > -
ceil(
) → void -
Available on Rx<
Ceiling to integerdouble> , provided by the RxDoubleExtensions extension -
chainSafe<
R> (RxResult< R> operation(T value), {String? context}) → RxResult<R> -
Available on Rx<
Chain operations with error handlingT> , provided by the RxErrorHandling extension -
cleanupTiming(
) → void -
Available on Rx<
Cleanup timing resources for this instanceT> , provided by the RxPerformanceExtensions extension -
clear(
) → void -
Available on Rx<
Clear (convenience method)String> , provided by the RxStringExtensions extension -
clear(
) → void -
Available on Rx<
Clear list (convenience method that calls tryClear internally)List< , provided by the RxListExtensions extensionT> > -
clear(
) → void -
Available on Rx<
Clear set (convenience method)Set< , provided by the RxSetExtensions extensionT> > -
clear(
) → void -
Available on Rx<
Clear map (convenience method)Map< , provided by the RxMapExtensions extensionK, V> > -
combineLatest<
U, R> (Rx< U> other, R combiner(T, U)) → RxComputed<R> -
Available on Rx<
Combine with another reactive valueT> , provided by the RxTransformations extension -
combineWith<
U, R> (Rx< U> other, R combiner(T a, U b)) → RxComputed<R> -
Available on Rx<
T> , provided by the RxComputedExtensions extension -
computeSafe<
R> (R computation(T value)) → Rx< R?> -
Available on Rx<
Create error-safe computed valueT> , provided by the RxErrorHandling extension -
contains(
Pattern other) → bool -
Available on Rx<
Check if string contains substringString> , provided by the RxStringExtensions extension -
contains(
Object? element) → bool -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
contains(
T element) → bool -
Available on Rx<
List< , provided by the RxListExtensions extensionT> > -
containsKey(
Object? key) → bool -
Available on Rx<
Map< , provided by the RxMapExtensions extensionK, V> > -
containsValue(
Object? val) → bool -
Available on Rx<
Map< , provided by the RxMapExtensions extensionK, V> > -
debounce(
Duration duration, void callback(T value)) → void -
Available on Rx<
Debounce value changes - callback is called after duration of inactivityT> , provided by the RxTimingExtensions extension -
decrement(
[int step = 1]) → void -
Available on Rx<
Decrement (convenience method)int> , provided by the RxIntExtensions extension -
decrement(
[double step = 1.0]) → void -
Available on Rx<
Decrement (convenience method)double> , provided by the RxDoubleExtensions extension -
delay(
Duration duration, void callback(T value)) → void -
Available on Rx<
Delay value changes by specified durationT> , provided by the RxTimingExtensions extension -
difference(
Set< Object?> other) → Set<T> -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
override
-
distinct(
void callback(T value), [bool equals(T previous, T current)?]) → void -
Available on Rx<
Only call callback when value actually changes (distinct)T> , provided by the RxTimingExtensions extension -
distinctMap<
R> (R mapper(T)) → RxComputed< R> -
Available on Rx<
Create a reactive value that only updates when the mapped value changesT> , provided by the RxTransformations extension -
divide(
num divisor) → void -
Available on Rx<
Divide (convenience method)int> , provided by the RxIntExtensions extension -
divide(
num divisor) → void -
Available on Rx<
Divide (convenience method)double> , provided by the RxDoubleExtensions extension -
elementAtOrNull(
int index) → T? -
Available on Rx<
Safe element access (returns null instead of throwing)List< , provided by the RxListExtensions extensionT> > -
endsWith(
String other) → bool -
Available on Rx<
Check if string ends with suffixString> , provided by the RxStringExtensions extension -
every(
bool test(T)) → bool -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
every(
bool test(T element)) → bool -
Available on Rx<
List< , provided by the RxListExtensions extensionT> > -
expand<
R> (Iterable< R> f(T element)) → Iterable<R> -
Available on Rx<
Expand operationList< , provided by the RxListExtensions extensionT> > -
filter(
bool predicate(T)) → RxComputed< T?> -
Available on Rx<
Filter values based on a predicateT> , provided by the RxTransformations extension -
firstWhere(
bool test(T element), {T orElse()?}) → T -
Available on Rx<
List< , provided by the RxListExtensions extensionT> > -
floor(
) → void -
Available on Rx<
Floor to integerdouble> , provided by the RxDoubleExtensions extension -
fold<
R> (R initialValue, R combine(R previousValue, T element)) → R -
Available on Rx<
Fold operationList< , provided by the RxListExtensions extensionT> > -
forEach(
void action(K key, V value)) → void -
Available on Rx<
Map< , provided by the RxMapExtensions extensionK, V> > -
forEach(
void action(T)) → void -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
increment(
[int step = 1]) → void -
Available on Rx<
Increment (convenience method)int> , provided by the RxIntExtensions extension -
increment(
[double step = 1.0]) → void -
Available on Rx<
Increment (convenience method)double> , provided by the RxDoubleExtensions extension -
indexOf(
T element, [int start = 0]) → int -
Available on Rx<
List< , provided by the RxListExtensions extensionT> > -
indexOf(
Pattern pattern, [int start = 0]) → int -
Available on Rx<
Get index of substringString> , provided by the RxStringExtensions extension -
insert(
int index, T element) → void -
Available on Rx<
Insert at index (convenience method that calls tryInsert internally)List< , provided by the RxListExtensions extensionT> > -
insertAll(
int index, Iterable< T> iterable) → void -
Available on Rx<
Insert all at index (convenience method)List< , provided by the RxListExtensions extensionT> > -
intersection(
Set< Object?> other) → Set<T> -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
join(
[String separator = ""]) → String -
Available on Rx<
List< , provided by the RxListExtensions extensionT> > -
join(
[String separator = ""]) → String -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
keyOr(
K key, V fallback) → V -
Available on Rx<
Safe key access with fallbackMap< , provided by the RxMapExtensions extensionK, V> > -
lastIndexOf(
T element, [int? start]) → int -
Available on Rx<
List< , provided by the RxListExtensions extensionT> > -
lastIndexOf(
Pattern pattern, [int? start]) → int -
Available on Rx<
Get last index of substringString> , provided by the RxStringExtensions extension -
lastWhere(
bool test(T element), {T orElse()?}) → T -
Available on Rx<
List< , provided by the RxListExtensions extensionT> > -
listenSafe(
void listener(T value), {void onError(RxException error)?}) → void -
Available on Rx<
Listen with error handlingT> , provided by the RxErrorHandling extension -
map<
R> (R mapper(T value)) → RxComputed< R> -
Available on Rx<
T> , provided by the RxComputedExtensions extension -
map<
R> (R transformer(T value), void callback(R value)) → void -
Available on Rx<
Transform value before calling callbackT> , provided by the RxTimingExtensions extension -
map<
K2, V2> (MapEntry< K2, V2> f(K key, V value)) → Map<K2, V2> -
Available on Rx<
Map< , provided by the RxMapExtensions extensionK, V> > -
map<
R> (R f(T)) → Iterable< R> -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
map<
R> (R mapper(T element)) → Iterable< R> -
Available on Rx<
Map operation that returns a spreadable Iterable (for use with ... operator)List< , provided by the RxListExtensions extensionT> > -
mapList<
R> (R mapper(T)) → RxComputed< List< R> > -
Available on Rx<
Map list reactivelyList< , provided by the RxListTransformations extensionT> > -
mapNotNull<
R> (R mapper(T)) → RxComputed< R?> -
Available on Rx<
Map only non-null valuesT?> , provided by the RxNullableTransformations extension -
mapToRx<
R> (R mapper(T element)) → Rx< List< R> > -
Available on Rx<
Map operation that returns a new reactive listList< , provided by the RxListExtensions extensionT> > -
modulo(
int divisor) → void -
Available on Rx<
Modulo (convenience method)int> , provided by the RxIntExtensions extension -
multiply(
num factor) → void -
Available on Rx<
Multiply (convenience method)double> , provided by the RxDoubleExtensions extension -
multiply(
num factor) → void -
Available on Rx<
Multiply (convenience method)int> , provided by the RxIntExtensions extension -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
orElse(
T fallback) → T -
Available on Rx<
Get value if not null, otherwise return fallbackT?> , provided by the RxNullableErrorHandling extension -
orElseGet(
T fallback()) → T -
Available on Rx<
Get value if not null, otherwise compute fallbackT?> , provided by the RxNullableErrorHandling extension -
power(
int exponent) → void -
Available on Rx<
Power (convenience method)int> , provided by the RxIntExtensions extension -
prepend(
String text) → void -
Available on Rx<
Prepend text (convenience method)String> , provided by the RxStringExtensions extension -
putIfAbsent(
K key, V ifAbsent()) → V -
Available on Rx<
Put if absent (convenience method)Map< , provided by the RxMapExtensions extensionK, V> > -
reduce(
T combine(T value, T element)) → T -
Available on Rx<
Reduce operationList< , provided by the RxListExtensions extensionT> > -
refresh(
) → void - Refresh/notify listeners even if value hasn't changed
-
refresh(
) → void -
Available on Rx<
Convenience method to refresh listenersMap< , provided by the RxMapExtensions extensionK, V> > -
refresh(
) → void -
Available on Rx<
Convenience method to refresh listenersList< , provided by the RxListExtensions extensionT> > -
refresh(
) → void -
Available on Rx<
Convenience method to refresh listenersSet< , provided by the RxSetExtensions extensionT> > -
remove(
Object? key) → V? -
Available on Rx<
Remove key (convenience method)Map< , provided by the RxMapExtensions extensionK, V> > -
remove(
Object? item) → bool -
Available on Rx<
Remove item (convenience method)Set< , provided by the RxSetExtensions extensionT> > -
remove(
T element) → bool -
Available on Rx<
Remove element (convenience method that calls tryRemove internally)List< , provided by the RxListExtensions extensionT> > -
removeAll(
Iterable< Object?> elements) → void -
Available on Rx<
Remove all items (convenience method)Set< , provided by the RxSetExtensions extensionT> > -
removeAt(
int index) → T? -
Available on Rx<
Remove at index (convenience method that calls tryRemoveAt internally)List< , provided by the RxListExtensions extensionT> > -
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
removeWhere(
bool test(T element)) → void -
Available on Rx<
Remove where (convenience method that calls tryRemoveWhere internally)List< , provided by the RxListExtensions extensionT> > -
removeWhere(
bool test(T)) → void -
Available on Rx<
Remove where (convenience method)Set< , provided by the RxSetExtensions extensionT> > -
removeWhere(
bool predicate(K key, V value)) → void -
Available on Rx<
Remove where (convenience method)Map< , provided by the RxMapExtensions extensionK, V> > -
replace(
Pattern from, String replacement) → void -
Available on Rx<
Replace (convenience method)String> , provided by the RxStringExtensions extension -
replaceRange(
int start, int end, Iterable< T> replacements) → void -
Available on Rx<
Replace range (convenience method)List< , provided by the RxListExtensions extensionT> > -
requireValue(
[String? context]) → T -
Available on Rx<
Get non-null value or throw with contextT?> , provided by the RxNullableErrorHandling extension -
resetPerformanceStats(
) → void -
Available on Rx<
Reset performance statisticsT> , provided by the RxPerformanceExtensions extension -
retainWhere(
bool test(T element)) → void -
Available on Rx<
Retain where (convenience method)List< , provided by the RxListExtensions extensionT> > -
retainWhere(
bool test(T)) → void -
Available on Rx<
Retain where (convenience method)Set< , provided by the RxSetExtensions extensionT> > -
round(
) → void -
Available on Rx<
Round to nearest integerdouble> , provided by the RxDoubleExtensions extension -
sample(
Duration interval, void callback(T value)) → StreamSubscription< T> -
Available on Rx<
Sample value changes at regular intervalsT> , provided by the RxTimingExtensions extension -
setFalse(
) → void -
Available on Rx<
Set to false (convenience method)bool> , provided by the RxBoolExtensions extension -
setFromAsync(
Future< T> operation(), {String? context}) → Future<RxResult< void> > -
Available on Rx<
Set value from async operation with error handlingT> , provided by the RxAsyncErrorHandling extension -
setTrue(
) → void -
Available on Rx<
Set to true (convenience method)bool> , provided by the RxBoolExtensions extension -
setWithValidation(
T newValue, bool validator(T value), {String? validationMessage}) → RxResult< void> -
Available on Rx<
Set value with validationT> , provided by the RxErrorHandling extension -
shuffle(
[Random? random]) → void -
Available on Rx<
Shuffle list (convenience method)List< , provided by the RxListExtensions extensionT> > -
singleWhere(
bool test(T element), {T orElse()?}) → T -
Available on Rx<
List< , provided by the RxListExtensions extensionT> > -
skip(
int count) → Iterable< T> -
Available on Rx<
Skip operationList< , provided by the RxListExtensions extensionT> > -
skip(
int count, void callback(T value)) → void -
Available on Rx<
Skip first n value changesT> , provided by the RxTimingExtensions extension -
skip(
int count) → RxComputed< T?> -
Available on Rx<
Skip the first n valuesT> , provided by the RxTransformations extension -
skipWhile(
bool test(T element)) → Iterable< T> -
Available on Rx<
SkipWhile operationList< , provided by the RxListExtensions extensionT> > -
sort(
[int compare(T a, T b)?]) → void -
Available on Rx<
Sort list (convenience method that calls trySort internally)List< , provided by the RxListExtensions extensionT> > -
sortedBy<
R extends Comparable> (R keySelector(T)) → RxComputed< List< T> > -
Available on Rx<
Sort list reactivelyList< , provided by the RxListTransformations extensionT> > -
split(
Pattern pattern) → List< String> -
Available on Rx<
Split stringString> , provided by the RxStringExtensions extension -
startsWith(
Pattern pattern) → bool -
Available on Rx<
Check if string starts with prefixString> , provided by the RxStringExtensions extension -
substring(
int startIndex, [int? endIndex]) → String -
Available on Rx<
Get substringString> , provided by the RxStringExtensions extension -
switchMap<
R> (RxComputed< R> mapper(T)) → RxComputed<R> -
Available on Rx<
Switch to a new reactive value based on current valueT> , provided by the RxTransformations extension -
take(
int count) → RxComputed< T?> -
Available on Rx<
Take the first n valuesT> , provided by the RxTransformations extension -
take(
int count) → Iterable< T> -
Available on Rx<
Take operationList< , provided by the RxListExtensions extensionT> > -
take(
int count, void callback(T value)) → void -
Available on Rx<
Take only first n value changesT> , provided by the RxTimingExtensions extension -
takeWhile(
bool test(T element)) → Iterable< T> -
Available on Rx<
TakeWhile operationList< , provided by the RxListExtensions extensionT> > -
throttle(
Duration duration, void callback(T value)) → void -
Available on Rx<
Throttle value changes - callback is called at most once per durationT> , provided by the RxTimingExtensions extension -
toggle(
) → void -
Available on Rx<
Toggle (convenience method)bool> , provided by the RxBoolExtensions extension -
toList(
{bool growable = true}) → List< T> -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
toList(
{bool growable = true}) → List< T> -
Available on Rx<
List< , provided by the RxListExtensions extensionT> > -
toLowerCase(
) → void -
Available on Rx<
Convert to lowercase (convenience method)String> , provided by the RxStringExtensions extension -
toSet(
) → Set< T> -
Available on Rx<
List< , provided by the RxListExtensions extensionT> > -
toSet(
) → Set< T> -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
toString(
) → String -
A string representation of this object.
override
-
toUpperCase(
) → void -
Available on Rx<
Convert to uppercase (convenience method)String> , provided by the RxStringExtensions extension -
trackChange(
) → void -
Available on Rx<
Track a change for performance monitoringT> , provided by the RxPerformanceExtensions extension -
transform<
R> (R mapper(T)) → RxComputed< R> -
Available on Rx<
Transform this reactive value to another typeT> , provided by the RxTransformations extension -
transformSafe<
R> (R transformer(T value), {String? context}) → RxResult< R> -
Available on Rx<
Transform value with error handlingT> , provided by the RxErrorHandling extension -
trim(
) → void -
Available on Rx<
Trim (convenience method)String> , provided by the RxStringExtensions extension -
truncate(
) → void -
Available on Rx<
Truncate to integerdouble> , provided by the RxDoubleExtensions extension -
tryAdd(
T item) → RxResult< bool> -
Available on Rx<
Add item with error handlingSet< , provided by the RxSetExtensions extensionT> > -
tryAdd(
T element) → RxResult< void> -
Available on Rx<
Add element with error handlingList< , provided by the RxListExtensions extensionT> > -
tryAddAll(
Map< K, V> other) → RxResult<void> -
Available on Rx<
Add all entries with error handlingMap< , provided by the RxMapExtensions extensionK, V> > -
tryAddAll(
Iterable< T> elements) → RxResult<void> -
Available on Rx<
Add all elements with error handlingList< , provided by the RxListExtensions extensionT> > -
tryAddAll(
Iterable< T> elements) → RxResult<void> -
Available on Rx<
Add all items with error handlingSet< , provided by the RxSetExtensions extensionT> > -
tryAddEntries(
Iterable< MapEntry< newEntries) → RxResult<K, V> >void> -
Available on Rx<
Add entries with error handlingMap< , provided by the RxMapExtensions extensionK, V> > -
tryAppend(
String text) → RxResult< void> -
Available on Rx<
Append text with error handlingString> , provided by the RxStringExtensions extension -
tryClear(
) → RxResult< void> -
Available on Rx<
Clear map with error handlingMap< , provided by the RxMapExtensions extensionK, V> > -
tryClear(
) → RxResult< void> -
Available on Rx<
Clear set with error handlingSet< , provided by the RxSetExtensions extensionT> > -
tryClear(
) → RxResult< void> -
Available on Rx<
Clear with error handlingString> , provided by the RxStringExtensions extension -
tryClear(
) → RxResult< void> -
Available on Rx<
Clear list with error handlingList< , provided by the RxListExtensions extensionT> > -
tryDecrement(
[int step = 1]) → RxResult< void> -
Available on Rx<
Decrement with error handlingint> , provided by the RxIntExtensions extension -
tryDecrement(
[double step = 1.0]) → RxResult< void> -
Available on Rx<
Decrement with error handlingdouble> , provided by the RxDoubleExtensions extension -
tryDivide(
num divisor) → RxResult< void> -
Available on Rx<
Divide with error handlingint> , provided by the RxIntExtensions extension -
tryDivide(
num divisor) → RxResult< void> -
Available on Rx<
Divide with error handlingdouble> , provided by the RxDoubleExtensions extension -
tryElementAt(
int index) → RxResult< T> -
Available on Rx<
Get element with error handlingList< , provided by the RxListExtensions extensionT> > -
tryGetKey(
K key) → RxResult< V> -
Available on Rx<
Safe key access with error handlingMap< , provided by the RxMapExtensions extensionK, V> > -
tryGetValue(
{String? context}) → RxResult< T> -
Available on Rx<
Get value with error handlingT> , provided by the RxErrorHandling extension -
tryIncrement(
[int step = 1]) → RxResult< void> -
Available on Rx<
Increment with error handlingint> , provided by the RxIntExtensions extension -
tryIncrement(
[double step = 1.0]) → RxResult< void> -
Available on Rx<
Increment with error handlingdouble> , provided by the RxDoubleExtensions extension -
tryInsert(
int index, T element) → RxResult< void> -
Available on Rx<
Insert at index with validationList< , provided by the RxListExtensions extensionT> > -
tryInsertAll(
int index, Iterable< T> iterable) → RxResult<void> -
Available on Rx<
Insert all at index with validationList< , provided by the RxListExtensions extensionT> > -
tryModulo(
int divisor) → RxResult< void> -
Available on Rx<
Modulo with error handlingint> , provided by the RxIntExtensions extension -
tryMultiply(
num factor) → RxResult< void> -
Available on Rx<
Multiply with error handlingdouble> , provided by the RxDoubleExtensions extension -
tryMultiply(
num factor) → RxResult< void> -
Available on Rx<
Multiply with error handlingint> , provided by the RxIntExtensions extension -
tryPower(
int exponent) → RxResult< void> -
Available on Rx<
Power with error handlingint> , provided by the RxIntExtensions extension -
tryPrepend(
String text) → RxResult< void> -
Available on Rx<
Prepend text with error handlingString> , provided by the RxStringExtensions extension -
tryPutIfAbsent(
K key, V ifAbsent()) → RxResult< V> -
Available on Rx<
Put if absent with error handlingMap< , provided by the RxMapExtensions extensionK, V> > -
tryRemove(
Object? item) → RxResult< bool> -
Available on Rx<
Remove item with error handlingSet< , provided by the RxSetExtensions extensionT> > -
tryRemove(
T element) → RxResult< bool> -
Available on Rx<
Remove element with error handlingList< , provided by the RxListExtensions extensionT> > -
tryRemoveAll(
Iterable< Object?> elements) → RxResult<void> -
Available on Rx<
Remove all items with error handlingSet< , provided by the RxSetExtensions extensionT> > -
tryRemoveAt(
int index) → RxResult< T> -
Available on Rx<
Remove at index with validationList< , provided by the RxListExtensions extensionT> > -
tryRemoveKey(
Object? key) → RxResult< V?> -
Available on Rx<
Remove key with error handlingMap< , provided by the RxMapExtensions extensionK, V> > -
tryRemoveWhere(
bool test(T element)) → RxResult< void> -
Available on Rx<
Remove where with error handlingList< , provided by the RxListExtensions extensionT> > -
tryRemoveWhere(
bool predicate(K key, V value)) → RxResult< void> -
Available on Rx<
Remove where with error handlingMap< , provided by the RxMapExtensions extensionK, V> > -
tryRemoveWhere(
bool test(T)) → RxResult< void> -
Available on Rx<
Remove where with error handlingSet< , provided by the RxSetExtensions extensionT> > -
tryReplace(
Pattern from, String replace) → RxResult< void> -
Available on Rx<
Replace with error handlingString> , provided by the RxStringExtensions extension -
tryReplaceAll(
T oldElement, T newElement) → RxResult< void> -
Available on Rx<
Replace all occurrences with error handlingList< , provided by the RxListExtensions extensionT> > -
tryReplaceRange(
int start, int end, Iterable< T> replacements) → RxResult<void> -
Available on Rx<
Replace range with error handlingList< , provided by the RxListExtensions extensionT> > -
tryRequireValue(
[String? context]) → RxResult< T> -
Available on Rx<
Get non-null value or return resultT?> , provided by the RxNullableErrorHandling extension -
tryRetainWhere(
bool test(T)) → RxResult< void> -
Available on Rx<
Retain where with error handlingSet< , provided by the RxSetExtensions extensionT> > -
tryRetainWhere(
bool test(T element)) → RxResult< void> -
Available on Rx<
Retain where with error handlingList< , provided by the RxListExtensions extensionT> > -
trySetAt(
int index, T element) → RxResult< void> -
Available on Rx<
Set element at index with validationList< , provided by the RxListExtensions extensionT> > -
trySetFalse(
) → RxResult< void> -
Available on Rx<
Set to false with error handlingbool> , provided by the RxBoolExtensions extension -
trySetKey(
K key, V val) → RxResult< void> -
Available on Rx<
Set key-value with error handlingMap< , provided by the RxMapExtensions extensionK, V> > -
trySetTrue(
) → RxResult< void> -
Available on Rx<
Set to true with error handlingbool> , provided by the RxBoolExtensions extension -
trySetValue(
T newValue, {String? context}) → RxResult< void> -
Available on Rx<
Set value with error handlingT> , provided by the RxErrorHandling extension -
tryShuffle(
[Random? random]) → RxResult< void> -
Available on Rx<
Shuffle list with error handlingList< , provided by the RxListExtensions extensionT> > -
trySort(
[int compare(T a, T b)?]) → RxResult< void> -
Available on Rx<
Sort list with error handlingList< , provided by the RxListExtensions extensionT> > -
tryToggle(
) → RxResult< void> -
Available on Rx<
Toggle with error handlingbool> , provided by the RxBoolExtensions extension -
tryToLowerCase(
) → RxResult< void> -
Available on Rx<
Convert to lowercase with error handlingString> , provided by the RxStringExtensions extension -
tryToUpperCase(
) → RxResult< void> -
Available on Rx<
Convert to uppercase with error handlingString> , provided by the RxStringExtensions extension -
tryTrim(
) → RxResult< void> -
Available on Rx<
Trim with error handlingString> , provided by the RxStringExtensions extension -
tryUpdate(
T updater(T current), {String? context}) → RxResult< void> -
Available on Rx<
Update value with error handlingT> , provided by the RxErrorHandling extension -
tryUpdate(
K key, V update(V value), {V ifAbsent()?}) → RxResult< V> -
Available on Rx<
Update value with error handlingMap< , provided by the RxMapExtensions extensionK, V> > -
tryUpdateAll(
V update(K key, V value)) → RxResult< void> -
Available on Rx<
Update all values with error handlingMap< , provided by the RxMapExtensions extensionK, V> > -
tryUpdateAt(
int index, T element) → RxResult< void> -
Available on Rx<
Update element at index with validationList< , provided by the RxListExtensions extensionT> > -
union(
Set< T> other) → Set<T> -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
update(
T updater(T value)) → void -
Update value using a function
override
-
update(
K key, V update(V value), {V ifAbsent()?}) → V -
Available on Rx<
Update value (convenience method)Map< , provided by the RxMapExtensions extensionK, V> > -
updateAll(
V update(K key, V value)) → void -
Available on Rx<
Update all values (convenience method)Map< , provided by the RxMapExtensions extensionK, V> > -
updateFromAsync(
Future< T> operation(T current), {String? context}) → Future<RxResult< void> > -
Available on Rx<
Update value from async operationT> , provided by the RxAsyncErrorHandling extension -
updateIfChanged(
T newValue) → void - Update the value only if it's different (explicit equality check)
-
updateWithRetry(
T updater(T current), {int? maxRetries, Duration? retryDelay, String? context}) → Future< RxResult< void> > -
Available on Rx<
Update value with retry logicT> , provided by the RxErrorHandling extension -
valueOr(
T fallback) → T -
Available on Rx<
Get value or return fallbackT> , provided by the RxErrorHandling extension -
valueOrElse(
T fallback()) → T -
Available on Rx<
Get value or compute fallbackT> , provided by the RxErrorHandling extension -
where(
bool test(T)) → Iterable< T> -
Available on Rx<
Set< , provided by the RxSetExtensions extensionT> > -
where(
bool test(T element)) → Iterable< T> -
Available on Rx<
Where operation that returns a spreadable Iterable (for use with ... operator)List< , provided by the RxListExtensions extensionT> > -
where(
bool predicate(T value)) → RxComputed< T?> -
Available on Rx<
T> , provided by the RxComputedExtensions extension -
where(
bool condition(T value), void callback(T value)) → void -
Available on Rx<
Only call callback when value meets conditionT> , provided by the RxTimingExtensions extension -
whereList(
bool predicate(T)) → RxComputed< List< T> > -
Available on Rx<
Filter list reactivelyList< , provided by the RxListTransformations extensionT> > -
whereNotNull(
) → RxComputed< T?> -
Available on Rx<
Filter out null valuesT?> , provided by the RxNullableTransformations extension -
whereNotNull(
[T? defaultValue]) → RxComputed< T> -
Available on Rx<
Handle null values with a defaultT> , provided by the RxTransformations extension -
whereToRx(
bool test(T element)) → Rx< List< T> > -
Available on Rx<
Where operation that returns a new reactive listList< , provided by the RxListExtensions extensionT> > -
withDefault(
T defaultValue) → RxComputed< T> -
Available on Rx<
Provide a default value for nullT?> , provided by the RxNullableTransformations extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
int index) → T -
Available on Rx<
Safe list access operator with trackingList< , provided by the RxListExtensions extensionT> > -
operator [](
Object? key) → V? -
Available on Rx<
Safe access operationsMap< , provided by the RxMapExtensions extensionK, V> > -
operator []=(
int index, T element) → void -
Available on Rx<
Safe list assignment operatorList< , provided by the RxListExtensions extensionT> > -
operator []=(
K key, V val) → void -
Available on Rx<
Set key-value (convenience method)Map< , provided by the RxMapExtensions extensionK, V> >