Signal<T> class

A base-class that store a value of T and notify the listeners when the value is updated.

You can create a new Signal:

// usign the `Signal` class
final strSignal = Signal<String>("initial value");
final intSignal = Signal<int>(0);
final userSignal = Signal<User>(User());

You can get the value:

// usign a `value` getter
print(strSignal.value);
// or using the callable
print(strSignal());
// or using `toString` implicit
print("$intSignal");

You can set a new value:

// usign a `value` setter
strSignal.value = "change value";
// or using the callable
strSignal("change value");

You can use Lifecycle.willUpdate event for before the value is changed, or use Lifecicle.didUpdate event for after the value is changed:

Rt.on(
  strSignal,
  Lifecycle.willUpdate,
  (signal, _) => print("Previous value: $signal"),
);

Rt.on(
  strSignal,
  Lifecycle.didUpdate,
  (signal, _) => print("Current value: $signal"),
);

Use update method to notify changes after run a set of instructions:

userSignal.update((user) {
  user.firstname = "Leo";
  user.lastname = "Leon";
});

Use refresh method to force to notify changes.

userSignal.refresh();

If you use flutter, add flutter_reactter package on your dependencies and use its Widgets.

Mixed-in types
Available extensions

Constructors

Signal(T value, {String? debugLabel})
factory

Properties

bitLength int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns the minimum number of bits required to store this integer.
no setter
bitLength int

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns the minimum number of bits required to store this big integer.
no setter
bitLength int?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns the minimum number of bits required to store this big integer.
no setter
bitLength int

Available on Signal<int>, provided by the SignalIntExt extension

Returns the minimum number of bits required to store this integer.
no setter
boundInstance Object?
The reference instance to the current state.
no setterinherited
codeUnits List<int>?

Available on Signal<String?>, provided by the SignalStringNullExt extension

An unmodifiable list of the UTF-16 code units of this string.
no setter
codeUnits List<int>

Available on Signal<String>, provided by the SignalStringExt extension

An unmodifiable list of the UTF-16 code units of this string.
no setter
day int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The day of the month [1..31].
no setter
day int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The day of the month [1..31].
no setter
debugInfo Map<String, dynamic>
A map containing information about state for debugging purposes.
no setteroverride
debugLabel String?
A label used for debugging purposes.
no setteroverride
dependencyInjection → DependencyInjection
no setterinherited
entries Iterable<MapEntry<K, V>>?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

The map entries of this.
no setter
entries Iterable<MapEntry<K, V>>

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

The map entries of this.
no setter
eventHandler → EventHandler
no setterinherited
first ← E

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

The first element of the list.
no getter
first ↔ E

Available on Signal<List<E>>, provided by the SignalListExt extension

Returns the first element.
getter/setter pair
first → E?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns the first element.
no setter
first → E

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns the first element.
no setter
hashCode int
The hash code for this object.
no setteroverride
hour int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The hour of the day, expressed as in a 24-hour clock [0..23].
no setter
hour int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The hour of the day, expressed as in a 24-hour clock [0..23].
no setter
isDisposed bool
Returns true if the state has been disposed.
no setterinherited
isEmpty bool

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Whether there is no key/value pair in the map.
no setter
isEmpty bool

Available on Signal<String>, provided by the SignalStringExt extension

Whether this string is empty.
no setter
isEmpty bool

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Whether this collection has no elements.
no setter
isEmpty bool?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Whether there is no key/value pair in the map.
no setter
isEmpty bool?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Whether this collection has no elements.
no setter
isEmpty bool?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Whether this string is empty.
no setter
isEven bool

Available on Signal<int>, provided by the SignalIntExt extension

Returns true if and only if this integer is even.
no setter
isEven bool?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Whether this big integer is even.
no setter
isEven bool

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Whether this big integer is even.
no setter
isEven bool?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns true if and only if this integer is even.
no setter
isFinite bool?

Available on Signal<num?>, provided by the SignalNumNullExt extension

Whether this number is finite.
no setter
isFinite bool

Available on Signal<num>, provided by the SignalNumExt extension

Whether this number is finite.
no setter
isInfinite bool

Available on Signal<num>, provided by the SignalNumExt extension

Whether this number is positive infinity or negative infinity.
no setter
isInfinite bool?

Available on Signal<num?>, provided by the SignalNumNullExt extension

Whether this number is positive infinity or negative infinity.
no setter
isNaN bool?

Available on Signal<num?>, provided by the SignalNumNullExt extension

Whether this number is a Not-a-Number value.
no setter
isNaN bool

Available on Signal<num>, provided by the SignalNumExt extension

Whether this number is a Not-a-Number value.
no setter
isNegative bool?

Available on Signal<num?>, provided by the SignalNumNullExt extension

Whether this number is negative.
no setter
isNegative bool?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Whether this number is negative.
no setter
isNegative bool

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Whether this number is negative.
no setter
isNegative bool

Available on Signal<num>, provided by the SignalNumExt extension

Whether this number is negative.
no setter
isNotEmpty bool

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Whether this collection has at least one element.
no setter
isNotEmpty bool

Available on Signal<String>, provided by the SignalStringExt extension

Whether this string is not empty.
no setter
isNotEmpty bool?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Whether this collection has at least one element.
no setter
isNotEmpty bool

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Whether there is at least one key/value pair in the map.
no setter
isNotEmpty bool?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Whether this string is not empty.
no setter
isNotEmpty bool?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Whether there is at least one key/value pair in the map.
no setter
isOdd bool?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Whether this big integer is odd.
no setter
isOdd bool

Available on Signal<int>, provided by the SignalIntExt extension

Returns true if and only if this integer is odd.
no setter
isOdd bool?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns true if and only if this integer is odd.
no setter
isOdd bool

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Whether this big integer is odd.
no setter
isValidInt bool?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Whether this big integer can be represented as an int without losing precision.
no setter
isValidInt bool

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Whether this big integer can be represented as an int without losing precision.
no setter
iterator Iterator<E>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns a new Iterator that allows iterating the elements of this Iterable.
no setter
iterator Iterator<E>?

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

An iterator that iterates over the elements of this set.
no setter
iterator Iterator<E>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns a new Iterator that allows iterating the elements of this Iterable.
no setter
iterator Iterator<E>

Available on Signal<Set<E>>, provided by the SignalSetExt extension

An iterator that iterates over the elements of this set.
no setter
keys Iterable<K>

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

The keys of this.
no setter
keys Iterable<K>?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

The keys of this.
no setter
last ← E

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

The last element of the list.
no getter
last → E

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns the last element.
no setter
last → E?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns the last element.
no setter
last ↔ E

Available on Signal<List<E>>, provided by the SignalListExt extension

Returns the last element.
getter/setter pair
length int?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns the number of elements in this.
no setter
length int?

Available on Signal<String?>, provided by the SignalStringNullExt extension

The length of the string.
no setter
length int

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns the number of elements in this.
no setter
length int

Available on Signal<String>, provided by the SignalStringExt extension

The length of the string.
no setter
length int

Available on Signal<List<E>>, provided by the SignalListExt extension

The number of objects in this list.
getter/setter pair
length int?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

The number of key/value pairs in the map.
no setter
length int

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

The number of objects in this list.
getter/setter pair
length int

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

The number of key/value pairs in the map.
no setter
microsecond int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The microsecond [0...999].
no setter
microsecond int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The microsecond [0...999].
no setter
microsecondsSinceEpoch int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The number of microseconds since the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
no setter
microsecondsSinceEpoch int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The number of microseconds since the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
no setter
millisecond int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The millisecond [0...999].
no setter
millisecond int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The millisecond [0...999].
no setter
millisecondsSinceEpoch int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The number of milliseconds since the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
no setter
millisecondsSinceEpoch int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The number of milliseconds since the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
no setter
minute int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The minute [0...59].
no setter
minute int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The minute [0...59].
no setter
month int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The month [1..12].
no setter
month int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The month [1..12].
no setter
notNull Signal<T>

Available on Signal<T?>, provided by the SignalNullExt extension

Returns a new Signal<T> with the value of the current Signal<T?> if it's not null.
no setter
reversed Iterable<E>?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

An Iterable of the objects in this list in reverse order.
no setter
reversed Iterable<E>

Available on Signal<List<E>>, provided by the SignalListExt extension

An Iterable of the objects in this list in reverse order.
no setter
runes Runes?

Available on Signal<String?>, provided by the SignalStringNullExt extension

An Iterable of Unicode code-points of this string.
no setter
runes Runes

Available on Signal<String>, provided by the SignalStringExt extension

An Iterable of Unicode code-points of this string.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The second [0...59].
no setter
second int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The second [0...59].
no setter
sign int

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns the sign of this big integer.
no setter
sign int?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns the sign of this big integer.
no setter
sign num?

Available on Signal<num?>, provided by the SignalNumNullExt extension

Negative one, zero or positive one depending on the sign and numerical value of this number.
no setter
sign int

Available on Signal<int>, provided by the SignalIntExt extension

Returns the sign of this integer.
no setter
sign num

Available on Signal<num>, provided by the SignalNumExt extension

Negative one, zero or positive one depending on the sign and numerical value of this number.
no setter
sign double

Available on Signal<double>, provided by the SignalDoubleExt extension

The sign of the double's numerical value.
no setter
sign double?

Available on Signal<double?>, provided by the SignalDoubleNullExt extension

The sign of the double's numerical value.
no setter
sign int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns the sign of this integer.
no setter
single → E?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Checks that this iterable has only one element, and returns that element.
no setter
single → E

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Checks that this iterable has only one element, and returns that element.
no setter
stateManagement → StateManagement<IState>
no setterinherited
timeZoneName String?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The time zone name.
no setter
timeZoneName String

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The time zone name.
no setter
timeZoneOffset Duration

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The time zone offset, which is the difference between local time and UTC.
no setter
timeZoneOffset Duration?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The time zone offset, which is the difference between local time and UTC.
no setter
value ↔ T
Returns the value of the signal.
getter/setter pair
values Iterable<V>?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

The values of this.
no setter
values Iterable<V>

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

The values of this.
no setter
weekday int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The day of the week monday..sunday.
no setter
weekday int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The day of the week monday..sunday.
no setter
year int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

The year.
no setter
year int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

The year.
no setter

Methods

abs() BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns the absolute value of this integer.
abs() int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns the absolute value of this integer.
abs() BigInt?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns the absolute value of this integer.
abs() int

Available on Signal<int>, provided by the SignalIntExt extension

Returns the absolute value of this integer.
abs() double?

Available on Signal<double?>, provided by the SignalDoubleNullExt extension

Returns the absolute value of this integer.
abs() num?

Available on Signal<num?>, provided by the SignalNumNullExt extension

The absolute value of this number.
abs() double

Available on Signal<double>, provided by the SignalDoubleExt extension

Returns the absolute value of this integer.
abs() num

Available on Signal<num>, provided by the SignalNumExt extension

The absolute value of this number.
add(Duration duration) DateTime?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

Returns a new DateTime instance with duration added to this.
add(E valueToAdd) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Adds value to the end of this list, extending the length by one.
add(E valueToAdd) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Adds value to the end of this list, extending the length by one.
add(E valueToAdd) bool?

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Adds value to the set.
add(E valueToAdd) bool

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Adds value to the set.
add(Duration duration) DateTime

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

Returns a new DateTime instance with duration added to this.
addAll(Iterable<E> iterable) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Appends all objects of iterable to the end of this list.
addAll(Iterable<E> iterable) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Appends all objects of iterable to the end of this list.
addAll(Iterable<E> elements) → void

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Adds all elements to this set.
addAll(Map<K, V> other) → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Adds all key/value pairs of other to this map.
addAll(Iterable<E> elements) → void

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Adds all elements to this set.
addAll(Map<K, V> other) → void

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Adds all key/value pairs of other to this map.
addEntries(Iterable<MapEntry<K, V>> newEntries) → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Adds all key/value pairs of newEntries to this map.
addEntries(Iterable<MapEntry<K, V>> newEntries) → void

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Adds all key/value pairs of newEntries to this map.
any(bool test(E element)) bool

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Checks whether any element of this iterable satisfies test.
any(bool test(E element)) bool?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Checks whether any element of this iterable satisfies test.
asMap() Map<int, E>

Available on Signal<List<E>>, provided by the SignalListExt extension

An unmodifiable Map view of this list.
asMap() Map<int, E>?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

An unmodifiable Map view of this list.
bind(Object instance) → void
Stores a reference to an object instance
inherited
call([T? val]) → T
Gets and/or sets to value like a function This method doesn't allow setting its value to null. If you need to set null as value, use .value = null.
cast<R>() Iterable<R>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Provides a view of this iterable as an iterable of R instances.
cast<R>() Set<R>?

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Provides a view of this set as a set of R instances.
cast<R>() Iterable<R>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Provides a view of this iterable as an iterable of R instances.
cast<R>() Set<R>

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Provides a view of this set as a set of R instances.
cast<RK, RV>() Map<RK, RV>?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Provides a view of this map as having RK keys and RV instances, if necessary.
cast<RK, RV>() Map<RK, RV>

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Provides a view of this map as having RK keys and RV instances, if necessary.
cast<R>() List<R>?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Returns a view of this list as a list of R instances.
cast<R>() List<R>

Available on Signal<List<E>>, provided by the SignalListExt extension

Returns a view of this list as a list of R instances.
ceil() int?

Available on Signal<double?>, provided by the SignalDoubleNullExt extension

Returns the least integer that is not smaller than this number.
ceil() int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns this.
ceil() int

Available on Signal<int>, provided by the SignalIntExt extension

Returns this.
ceil() int?

Available on Signal<num?>, provided by the SignalNumNullExt extension

The least integer no smaller than this.
ceil() int

Available on Signal<num>, provided by the SignalNumExt extension

The least integer no smaller than this.
ceil() int

Available on Signal<double>, provided by the SignalDoubleExt extension

Returns the least integer that is not smaller than this number.
ceilToDouble() double?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns this.toDouble().
ceilToDouble() double

Available on Signal<double>, provided by the SignalDoubleExt extension

Returns the least integer double value no smaller than this.
ceilToDouble() double?

Available on Signal<num?>, provided by the SignalNumNullExt extension

Returns the least double integer value no smaller than this.
ceilToDouble() double?

Available on Signal<double?>, provided by the SignalDoubleNullExt extension

Returns the least integer double value no smaller than this.
ceilToDouble() double

Available on Signal<num>, provided by the SignalNumExt extension

Returns the least double integer value no smaller than this.
ceilToDouble() double

Available on Signal<int>, provided by the SignalIntExt extension

Returns this.toDouble().
clamp(num lowerLimit, num upperLimit) num

Available on Signal<num>, provided by the SignalNumExt extension

Returns this num clamped to be in the range lowerLimit-upperLimit.
clamp(num lowerLimit, num upperLimit) num?

Available on Signal<num?>, provided by the SignalNumNullExt extension

Returns this num clamped to be in the range lowerLimit-upperLimit.
clear() → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes all objects from this list; the length of the list becomes zero.
clear() → void

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Removes all entries from the map.
clear() → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Removes all objects from this list; the length of the list becomes zero.
clear() → void

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Removes all elements from the set.
clear() → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Removes all entries from the map.
clear() → void

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Removes all elements from the set.
codeUnitAt(int index) int?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Returns the 16-bit UTF-16 code unit at the given index.
codeUnitAt(int index) int

Available on Signal<String>, provided by the SignalStringExt extension

Returns the 16-bit UTF-16 code unit at the given index.
compareTo(num other) int

Available on Signal<num>, provided by the SignalNumExt extension

Compares this to other.
compareTo(num other) int?

Available on Signal<num?>, provided by the SignalNumNullExt extension

Compares this to other.
compareTo(DateTime other) int?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

Compares this DateTime Object to other, returning zero if the values are equal.
compareTo(BigInt other) int

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Compares this to other.
compareTo(String other) int

Available on Signal<String>, provided by the SignalStringExt extension

Compares this string to other.
compareTo(DateTime other) int

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

Compares this DateTime Object to other, returning zero if the values are equal.
compareTo(BigInt other) int?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Compares this to other.
compareTo(String other) int?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Compares this string to other.
contains(Object? valueToEvaluate) bool

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Whether value is in the set.
contains(Pattern other, [int startIndex = 0]) bool

Available on Signal<String>, provided by the SignalStringExt extension

Whether this string contains a match of other.
contains(Object? valueToEvaluate) bool?

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Whether value is in the set.
contains(Object? element) bool

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Whether the collection contains an element equal to element.
contains(Pattern other, [int startIndex = 0]) bool?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Whether this string contains a match of other.
contains(Object? element) bool?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Whether the collection contains an element equal to element.
containsAll(Iterable<Object?> other) bool

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Whether this set contains all the elements of other.
containsAll(Iterable<Object?> other) bool?

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Whether this set contains all the elements of other.
containsKey(Object? key) bool

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Whether this map contains the given key.
containsKey(Object? key) bool?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Whether this map contains the given key.
containsValue(Object? valueToEvaluate) bool

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Whether this map contains the given value.
containsValue(Object? valueToEvaluate) bool?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Whether this map contains the given value.
difference(Set<Object?> other) Set<E>?

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Creates a new set with the elements of this that are not in other.
difference(DateTime other) Duration

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

Returns a Duration with the difference when subtracting other from this.
difference(DateTime other) Duration?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

Returns a Duration with the difference when subtracting other from this.
difference(Set<Object?> other) Set<E>

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Creates a new set with the elements of this that are not in other.
dispose() → void
Called when this object is removed
inherited
elementAt(int index) → E

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns the indexth element.
elementAt(int index) → E?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns the indexth element.
endsWith(String other) bool

Available on Signal<String>, provided by the SignalStringExt extension

Whether this string ends with other.
endsWith(String other) bool?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Whether this string ends with other.
every(bool test(E element)) bool

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Checks whether every element of this iterable satisfies test.
every(bool test(E element)) bool?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Checks whether every element of this iterable satisfies test.
expand<T>(Iterable<T> toElements(E element)) Iterable<T>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Expands each element of this Iterable into zero or more elements.
expand<T>(Iterable<T> toElements(E element)) Iterable<T>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Expands each element of this Iterable into zero or more elements.
fillRange(int start, int end, [E? fillValue]) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Overwrites a range of elements with fillValue.
fillRange(int start, int end, [E? fillValue]) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Overwrites a range of elements with fillValue.
firstWhere(bool test(E element), {E orElse()?}) → E?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns the first element that satisfies the given predicate test.
firstWhere(bool test(E element), {E orElse()?}) → E

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns the first element that satisfies the given predicate test.
floor() int

Available on Signal<double>, provided by the SignalDoubleExt extension

Returns the greatest integer no greater than this number.
floor() int?

Available on Signal<num?>, provided by the SignalNumNullExt extension

The greatest integer no greater than this number.
floor() int

Available on Signal<int>, provided by the SignalIntExt extension

Returns this.
floor() int?

Available on Signal<double?>, provided by the SignalDoubleNullExt extension

Returns the greatest integer no greater than this number.
floor() int

Available on Signal<num>, provided by the SignalNumExt extension

The greatest integer no greater than this number.
floor() int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns this.
floorToDouble() double?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns this.toDouble().
floorToDouble() double

Available on Signal<int>, provided by the SignalIntExt extension

Returns this.toDouble().
floorToDouble() double

Available on Signal<num>, provided by the SignalNumExt extension

Returns the greatest double integer value no greater than this.
floorToDouble() double?

Available on Signal<double?>, provided by the SignalDoubleNullExt extension

Returns the greatest integer double value no greater than this.
floorToDouble() double

Available on Signal<double>, provided by the SignalDoubleExt extension

Returns the greatest integer double value no greater than this.
floorToDouble() double?

Available on Signal<num?>, provided by the SignalNumNullExt extension

Returns the greatest double integer value no greater than this.
fold<T>(T initialValue, T combine(T previousValue, E element)) → T

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Reduces a collection to a single value by iteratively combining each element of the collection with an existing value
fold<T>(T initialValue, T combine(T previousValue, E element)) → T?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Reduces a collection to a single value by iteratively combining each element of the collection with an existing value
followedBy(Iterable<E> other) Iterable<E>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns the lazy concatenation of this iterable and other.
followedBy(Iterable<E> other) Iterable<E>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns the lazy concatenation of this iterable and other.
forEach(void action(K key, V value)) → void

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Applies action to each key/value pair of the map.
forEach(void action(E element)) → void

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Invokes action on each element of this iterable in iteration order.
forEach(void action(K key, V value)) → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Applies action to each key/value pair of the map.
forEach(void action(E element)) → void

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Invokes action on each element of this iterable in iteration order.
gcd(BigInt other) BigInt?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns the greatest common divisor of this big integer and other.
gcd(int other) int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns the greatest common divisor of this integer and other.
gcd(BigInt other) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns the greatest common divisor of this big integer and other.
gcd(int other) int

Available on Signal<int>, provided by the SignalIntExt extension

Returns the greatest common divisor of this integer and other.
getRange(int start, int end) Iterable<E>?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Creates an Iterable that iterates over a range of elements.
getRange(int start, int end) Iterable<E>

Available on Signal<List<E>>, provided by the SignalListExt extension

Creates an Iterable that iterates over a range of elements.
indexOf(Pattern pattern, [int start = 0]) int?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Returns the position of the first match of pattern in this string, starting at start, inclusive:
indexOf(Pattern pattern, [int start = 0]) int

Available on Signal<String>, provided by the SignalStringExt extension

Returns the position of the first match of pattern in this string, starting at start, inclusive:
indexOf(E element, [int start = 0]) int?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

The first index of element in this list.
indexOf(E element, [int start = 0]) int

Available on Signal<List<E>>, provided by the SignalListExt extension

The first index of element in this list.
indexWhere(bool test(E element), [int start = 0]) int?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

The first index in the list that satisfies the provided test.
indexWhere(bool test(E element), [int start = 0]) int

Available on Signal<List<E>>, provided by the SignalListExt extension

The first index in the list that satisfies the provided test.
insert(int index, E element) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Inserts element at position index in this list.
insert(int index, E element) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Inserts element at position index in this list.
insertAll(int index, Iterable<E> iterable) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Inserts all objects of iterable at position index in this list.
insertAll(int index, Iterable<E> iterable) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Inserts all objects of iterable at position index in this list.
intersection(Set<Object?> other) Set<E>

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Creates a new set which is the intersection between this set and other.
intersection(Set<Object?> other) Set<E>?

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Creates a new set which is the intersection between this set and other.
isAfter(DateTime other) bool

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

Returns true if this occurs after other.
isAfter(DateTime other) bool?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

Returns true if this occurs after other.
isAtSameMomentAs(DateTime other) bool?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

Returns true if this occurs at the same moment as other.
isAtSameMomentAs(DateTime other) bool

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

Returns true if this occurs at the same moment as other.
isBefore(DateTime other) bool

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

Returns true if this occurs before other.
isBefore(DateTime other) bool?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

Returns true if this occurs before other.
join([String separator = ""]) String?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Converts each element to a String and concatenates the strings.
join([String separator = ""]) String

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Converts each element to a String and concatenates the strings.
lastIndexOf(E element, [int? start]) int?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

The last index of element in this list.
lastIndexOf(Pattern pattern, [int? start]) int

Available on Signal<String>, provided by the SignalStringExt extension

The starting position of the last match pattern in this string.
lastIndexOf(Pattern pattern, [int? start]) int?

Available on Signal<String?>, provided by the SignalStringNullExt extension

The starting position of the last match pattern in this string.
lastIndexOf(E element, [int? start]) int

Available on Signal<List<E>>, provided by the SignalListExt extension

The last index of element in this list.
lastIndexWhere(bool test(E element), [int? start]) int

Available on Signal<List<E>>, provided by the SignalListExt extension

The last index in the list that satisfies the provided test.
lastIndexWhere(bool test(E element), [int? start]) int?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

The last index in the list that satisfies the provided test.
lastWhere(bool test(E element), {E orElse()?}) → E?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns the last element that satisfies the given predicate test.
lastWhere(bool test(E element), {E orElse()?}) → E

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns the last element that satisfies the given predicate test.
lookup(Object? object) → E?

Available on Signal<Set<E>>, provided by the SignalSetExt extension

If an object equal to object is in the set, return it.
lookup(Object? object) → E?

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

If an object equal to object is in the set, return it.
map<K2, V2>(MapEntry<K2, V2> convert(K key, V value)) Map<K2, V2>?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Returns a new map where all entries of this map are transformed by the given convert function.
map<T>(T toElement(E e)) Iterable<T>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

The current elements of this iterable modified by toElement.
map<K2, V2>(MapEntry<K2, V2> convert(K key, V value)) Map<K2, V2>

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Returns a new map where all entries of this map are transformed by the given convert function.
map<T>(T toElement(E e)) Iterable<T>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

The current elements of this iterable modified by toElement.
modInverse(int modulus) int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns the modular multiplicative inverse of this integer modulo modulus.
modInverse(BigInt modulus) BigInt?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns the modular multiplicative inverse of this big integer modulo modulus.
modInverse(BigInt modulus) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns the modular multiplicative inverse of this big integer modulo modulus.
modInverse(int modulus) int

Available on Signal<int>, provided by the SignalIntExt extension

Returns the modular multiplicative inverse of this integer modulo modulus.
modPow(int exponent, int modulus) int

Available on Signal<int>, provided by the SignalIntExt extension

Returns this integer to the power of exponent modulo modulus.
modPow(int exponent, int modulus) int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns this integer to the power of exponent modulo modulus.
modPow(BigInt exponent, BigInt modulus) BigInt?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns this integer to the power of exponent modulo modulus.
modPow(BigInt exponent, BigInt modulus) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns this integer to the power of exponent modulo modulus.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify() → void
It's used to notify listeners that the state has been updated. It is typically called after making changes to the state object.
inherited
padLeft(int width, [String padding = ' ']) String

Available on Signal<String>, provided by the SignalStringExt extension

Pads this string on the left if it is shorter than width.
padLeft(int width, [String padding = ' ']) String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Pads this string on the left if it is shorter than width.
padRight(int width, [String padding = ' ']) String

Available on Signal<String>, provided by the SignalStringExt extension

Pads this string on the right if it is shorter than width.
padRight(int width, [String padding = ' ']) String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Pads this string on the right if it is shorter than width.
pow(int exponent) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns this to the power of exponent.
pow(int exponent) BigInt?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns this to the power of exponent.
putIfAbsent(K key, V ifAbsent()) → V?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Look up the value of key, or add a new entry if it isn't there.
putIfAbsent(K key, V ifAbsent()) → V

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Look up the value of key, or add a new entry if it isn't there.
reduce(E combine(E value, E element)) → E

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Reduces a collection to a single value by iteratively combining elements of the collection using the provided function.
reduce(E combine(E value, E element)) → E?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Reduces a collection to a single value by iteratively combining elements of the collection using the provided function.
remainder(num other) double?

Available on Signal<double?>, provided by the SignalDoubleNullExt extension

remainder(BigInt other) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns the remainder of the truncating division of this by other.
remainder(num other) double

Available on Signal<double>, provided by the SignalDoubleExt extension

remainder(num other) num

Available on Signal<num>, provided by the SignalNumExt extension

The remainder of the truncating division of this by other.
remainder(num other) num?

Available on Signal<num?>, provided by the SignalNumNullExt extension

The remainder of the truncating division of this by other.
remainder(BigInt other) BigInt?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns the remainder of the truncating division of this by other.
remove(Object? valueToRemove) bool?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Removes the first occurrence of value from this list.
remove(Object? key) → V?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Removes key and its associated value, if present, from the map.
remove(Object? valueToRemove) bool

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes the first occurrence of value from this list.
remove(Object? valueToRemove) bool

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Removes value from the set.
remove(Object? valueToRemove) bool?

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Removes value from the set.
remove(Object? key) → V?

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Removes key and its associated value, if present, from the map.
removeAll(Iterable<Object?> elements) → void

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Removes each element of elements from this set.
removeAll(Iterable<Object?> elements) → void

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Removes each element of elements from this set.
removeAt(int index) → E?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Removes the object at position index from this list.
removeAt(int index) → E

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes the object at position index from this list.
removeLast() → E

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes and returns the last object in this list.
removeLast() → E?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Removes and returns the last object in this list.
removeRange(int start, int end) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Removes a range of elements from the list.
removeRange(int start, int end) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes a range of elements from the list.
removeWhere(bool test(E element)) → void

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Removes all elements of this set that satisfy test.
removeWhere(bool test(E element)) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Removes all objects from this list that satisfy test.
removeWhere(bool test(K key, V value)) → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Removes all entries of this map that satisfy the given test.
removeWhere(bool test(E element)) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes all objects from this list that satisfy test.
removeWhere(bool test(E element)) → void

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Removes all elements of this set that satisfy test.
removeWhere(bool test(K key, V value)) → void

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Removes all entries of this map that satisfy the given test.
replaceAll(Pattern from, String replace) String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Replaces all substrings that match from with replace.
replaceAll(Pattern from, String replace) String

Available on Signal<String>, provided by the SignalStringExt extension

Replaces all substrings that match from with replace.
replaceAllMapped(Pattern from, String replace(Match match)) String

Available on Signal<String>, provided by the SignalStringExt extension

Replace all substrings that match from by a computed string.
replaceAllMapped(Pattern from, String replace(Match match)) String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Replace all substrings that match from by a computed string.
replaceFirst(Pattern from, String to, [int startIndex = 0]) String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Creates a new string with the first occurrence of from replaced by to.
replaceFirst(Pattern from, String to, [int startIndex = 0]) String

Available on Signal<String>, provided by the SignalStringExt extension

Creates a new string with the first occurrence of from replaced by to.
replaceFirstMapped(Pattern from, String replace(Match match), [int startIndex = 0]) String

Available on Signal<String>, provided by the SignalStringExt extension

Replace the first occurrence of from in this string.
replaceFirstMapped(Pattern from, String replace(Match match), [int startIndex = 0]) String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Replace the first occurrence of from in this string.
replaceRange(int start, int? end, String replacement) String

Available on Signal<String>, provided by the SignalStringExt extension

Replaces the substring from start to end with replacement.
replaceRange(int start, int? end, String replacement) String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Replaces the substring from start to end with replacement.
replaceRange(int start, int end, Iterable<E> replacements) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Replaces a range of elements with the elements of replacements.
replaceRange(int start, int end, Iterable<E> replacements) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Replaces a range of elements with the elements of replacements.
retainAll(Iterable<Object?> elements) → void

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Removes all elements of this set that are not elements in elements.
retainAll(Iterable<Object?> elements) → void

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Removes all elements of this set that are not elements in elements.
retainWhere(bool test(E element)) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes all objects from this list that fail to satisfy test.
retainWhere(bool test(E element)) → void

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Removes all elements of this set that fail to satisfy test.
retainWhere(bool test(E element)) → void

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Removes all elements of this set that fail to satisfy test.
retainWhere(bool test(E element)) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Removes all objects from this list that fail to satisfy test.
round() int

Available on Signal<double>, provided by the SignalDoubleExt extension

Returns the integer closest to this number.
round() int

Available on Signal<num>, provided by the SignalNumExt extension

The integer closest to this number.
round() int?

Available on Signal<double?>, provided by the SignalDoubleNullExt extension

Returns the integer closest to this number.
round() int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns this.
round() int

Available on Signal<int>, provided by the SignalIntExt extension

Returns this.
round() int?

Available on Signal<num?>, provided by the SignalNumNullExt extension

The integer closest to this number.
roundToDouble() double

Available on Signal<double>, provided by the SignalDoubleExt extension

Returns the integer double value closest to this.
roundToDouble() double?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns this.toDouble().
roundToDouble() double

Available on Signal<num>, provided by the SignalNumExt extension

The double integer value closest to this value.
roundToDouble() double?

Available on Signal<double?>, provided by the SignalDoubleNullExt extension

Returns the integer double value closest to this.
roundToDouble() double?

Available on Signal<num?>, provided by the SignalNumNullExt extension

The double integer value closest to this value.
roundToDouble() double

Available on Signal<int>, provided by the SignalIntExt extension

Returns this.toDouble().
setAll(int index, Iterable<E> iterable) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Overwrites elements with the objects of iterable.
setAll(int index, Iterable<E> iterable) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Overwrites elements with the objects of iterable.
setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Writes some elements of iterable into a range of this list.
setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Writes some elements of iterable into a range of this list.
shuffle([Random? random]) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Shuffles the elements of this list randomly.
shuffle([Random? random]) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Shuffles the elements of this list randomly.
singleWhere(bool test(E element), {E orElse()?}) → E

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns the single element that satisfies test.
singleWhere(bool test(E element), {E orElse()?}) → E?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns the single element that satisfies test.
skip(int count) Iterable<E>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns an Iterable that provides all but the first count elements.
skip(int count) Iterable<E>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns an Iterable that provides all but the first count elements.
skipWhile(bool test(E value)) Iterable<E>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns an Iterable that skips leading elements while test is satisfied.
skipWhile(bool test(E value)) Iterable<E>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns an Iterable that skips leading elements while test is satisfied.
sort([int compare(E a, E b)?]) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Sorts this list according to the order specified by the compare function.
sort([int compare(E a, E b)?]) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Sorts this list according to the order specified by the compare function.
split(Pattern pattern) List<String>?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Splits the string at matches of pattern and returns a list of substrings.
split(Pattern pattern) List<String>

Available on Signal<String>, provided by the SignalStringExt extension

Splits the string at matches of pattern and returns a list of substrings.
splitMapJoin(Pattern pattern, {String onMatch(Match)?, String onNonMatch(String)?}) String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Splits the string, converts its parts, and combines them into a new string.
splitMapJoin(Pattern pattern, {String onMatch(Match)?, String onNonMatch(String)?}) String

Available on Signal<String>, provided by the SignalStringExt extension

Splits the string, converts its parts, and combines them into a new string.
startsWith(Pattern pattern, [int index = 0]) bool

Available on Signal<String>, provided by the SignalStringExt extension

Whether this string starts with a match of pattern.
startsWith(Pattern pattern, [int index = 0]) bool?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Whether this string starts with a match of pattern.
sublist(int start, [int? end]) List<E>

Available on Signal<List<E>>, provided by the SignalListExt extension

Returns a new list containing the elements between start and end.
sublist(int start, [int? end]) List<E>?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Returns a new list containing the elements between start and end.
substring(int start, [int? end]) String

Available on Signal<String>, provided by the SignalStringExt extension

The substring of this string from start, inclusive, to end, exclusive.
substring(int start, [int? end]) String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

The substring of this string from start, inclusive, to end, exclusive.
subtract(Duration duration) DateTime

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

Returns a new DateTime instance with duration subtracted from this.
subtract(Duration duration) DateTime?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

Returns a new DateTime instance with duration subtracted from this.
take(int count) Iterable<E>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns a lazy iterable of the count first elements of this iterable.
take(int count) Iterable<E>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns a lazy iterable of the count first elements of this iterable.
takeWhile(bool test(E value)) Iterable<E>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns a lazy iterable of the leading elements satisfying test.
takeWhile(bool test(E value)) Iterable<E>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns a lazy iterable of the leading elements satisfying test.
toDouble() double

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns this BigInt as a double.
toDouble() double

Available on Signal<num>, provided by the SignalNumExt extension

This number as a double.
toDouble() double?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns this BigInt as a double.
toDouble() double?

Available on Signal<num?>, provided by the SignalNumNullExt extension

This number as a double.
toInt() int

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns this BigInt as an int.
toInt() int?

Available on Signal<num?>, provided by the SignalNumNullExt extension

Truncates this num to an integer and returns the result as an int.
toInt() int

Available on Signal<num>, provided by the SignalNumExt extension

Truncates this num to an integer and returns the result as an int.
toInt() int?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns this BigInt as an int.
toIso8601String() String?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

Returns an ISO-8601 full-precision extended format representation.
toIso8601String() String

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

Returns an ISO-8601 full-precision extended format representation.
toList({bool growable = true}) List<E>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Creates a List containing the elements of this Iterable.
toList({bool growable = true}) List<E>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Creates a List containing the elements of this Iterable.
toLocal() DateTime?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

Returns this DateTime value in the local time zone.
toLocal() DateTime

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

Returns this DateTime value in the local time zone.
toLowerCase() String

Available on Signal<String>, provided by the SignalStringExt extension

Converts all characters in this string to lower case.
toLowerCase() String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Converts all characters in this string to lower case.
toRadixString(int radix) String?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Converts this to a string representation in the given radix.
toRadixString(int radix) String

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Converts this to a string representation in the given radix.
toRadixString(int radix) String

Available on Signal<int>, provided by the SignalIntExt extension

Converts this to a string representation in the given radix.
toRadixString(int radix) String?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Converts this to a string representation in the given radix.
toSet() Set<E>?

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Creates a Set with the same elements and behavior as this Set.
toSet() Set<E>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Creates a Set containing the same elements as this iterable.
toSet() Set<E>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Creates a Set containing the same elements as this iterable.
toSet() Set<E>

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Creates a Set with the same elements and behavior as this Set.
toSigned(int width) BigInt?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns the least significant width bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit in width bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher than width.
toSigned(int width) int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns the least significant width bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit in width bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher than width.
toSigned(int width) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns the least significant width bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit in width bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher than width.
toSigned(int width) int

Available on Signal<int>, provided by the SignalIntExt extension

Returns the least significant width bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit in width bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher than width.
toString() String
A string representation of this object.
override
toStringAsExponential([int? fractionDigits]) String?

Available on Signal<num?>, provided by the SignalNumNullExt extension

An exponential string-representation of this number.
toStringAsExponential([int? fractionDigits]) String

Available on Signal<num>, provided by the SignalNumExt extension

An exponential string-representation of this number.
toStringAsFixed(int fractionDigits) String?

Available on Signal<num?>, provided by the SignalNumNullExt extension

A decimal-point string-representation of this number.
toStringAsFixed(int fractionDigits) String

Available on Signal<num>, provided by the SignalNumExt extension

A decimal-point string-representation of this number.
toStringAsPrecision(int precision) String?

Available on Signal<num?>, provided by the SignalNumNullExt extension

A string representation with precision significant digits.
toStringAsPrecision(int precision) String

Available on Signal<num>, provided by the SignalNumExt extension

A string representation with precision significant digits.
toUnsigned(int width) BigInt?

Available on Signal<BigInt?>, provided by the SignalBigIntNullExt extension

Returns the least significant width bits of this big integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher than width.
toUnsigned(int width) int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns the least significant width bits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher than width.
toUnsigned(int width) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Returns the least significant width bits of this big integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher than width.
toUnsigned(int width) int

Available on Signal<int>, provided by the SignalIntExt extension

Returns the least significant width bits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher than width.
toUpperCase() String

Available on Signal<String>, provided by the SignalStringExt extension

Converts all characters in this string to upper case.
toUpperCase() String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

Converts all characters in this string to upper case.
toUtc() DateTime

Available on Signal<DateTime>, provided by the SignalDateTimeExt extension

Returns this DateTime value in the UTC time zone.
toUtc() DateTime?

Available on Signal<DateTime?>, provided by the SignalDateTimeNullExt extension

Returns this DateTime value in the UTC time zone.
trim() String

Available on Signal<String>, provided by the SignalStringExt extension

The string without any leading and trailing whitespace.
trim() String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

The string without any leading and trailing whitespace.
trimLeft() String

Available on Signal<String>, provided by the SignalStringExt extension

The string without any leading whitespace.
trimLeft() String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

The string without any leading whitespace.
trimRight() String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

The string without any trailing whitespace.
trimRight() String

Available on Signal<String>, provided by the SignalStringExt extension

The string without any trailing whitespace.
truncate() int?

Available on Signal<num?>, provided by the SignalNumNullExt extension

The integer obtained by discarding any fractional digits from this.
truncate() int

Available on Signal<num>, provided by the SignalNumExt extension

The integer obtained by discarding any fractional digits from this.
truncate() int

Available on Signal<double>, provided by the SignalDoubleExt extension

Returns the integer obtained by discarding any fractional part of this number.
truncate() int?

Available on Signal<double?>, provided by the SignalDoubleNullExt extension

Returns the integer obtained by discarding any fractional part of this number.
truncate() int

Available on Signal<int>, provided by the SignalIntExt extension

Returns this.
truncate() int?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns this.
truncateToDouble() double?

Available on Signal<num?>, provided by the SignalNumNullExt extension

Returns the double integer value obtained by discarding any fractional digits from the double value of this.
truncateToDouble() double

Available on Signal<num>, provided by the SignalNumExt extension

Returns the double integer value obtained by discarding any fractional digits from the double value of this.
truncateToDouble() double

Available on Signal<double>, provided by the SignalDoubleExt extension

Returns the integer double value obtained by discarding any fractional digits from this.
truncateToDouble() double?

Available on Signal<double?>, provided by the SignalDoubleNullExt extension

Returns the integer double value obtained by discarding any fractional digits from this.
truncateToDouble() double

Available on Signal<int>, provided by the SignalIntExt extension

Returns this.toDouble().
truncateToDouble() double?

Available on Signal<int?>, provided by the SignalIntNullExt extension

Returns this.toDouble().
unbind() → void
Removes the reference to the object instance
inherited
union(Set<E> other) Set<E>?

Available on Signal<Set<E>?>, provided by the SignalSetNullExt extension

Creates a new set which contains all the elements of this set and other.
union(Set<E> other) Set<E>

Available on Signal<Set<E>>, provided by the SignalSetExt extension

Creates a new set which contains all the elements of this set and other.
update(covariant void fnUpdate(T value)) → void
Executes callback, and notifies the listeners about the update.
override
updateAll(V fnUpdate(K key, V value)) → void

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Updates all values.
updateAll(V fnUpdate(K key, V value)) → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Updates all values.
updateMap(K key, V fnUpdate(V value), {V ifAbsent()?}) → V?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Updates the value for the provided key.
updateMap(K key, V fnUpdate(V value), {V ifAbsent()?}) → V

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Updates the value for the provided key.
where(bool test(E element)) Iterable<E>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns a new lazy Iterable with all elements that satisfy the predicate test.
where(bool test(E element)) Iterable<E>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns a new lazy Iterable with all elements that satisfy the predicate test.
whereType<T>() Iterable<T>

Available on Signal<Iterable<E>>, provided by the SignalIterableExt extension

Returns a new lazy Iterable with all elements that have type T.
whereType<T>() Iterable<T>?

Available on Signal<Iterable<E>?>, provided by the SignalIterableNullExt extension

Returns a new lazy Iterable with all elements that have type T.

Operators

operator %(num other) num

Available on Signal<num>, provided by the SignalNumExt extension

Euclidean modulo of this number by other.
operator %(BigInt other) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Euclidean modulo operator.
operator %(num other) double

Available on Signal<double>, provided by the SignalDoubleExt extension

operator &(BigInt other) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Bit-wise and operator.
operator &(bool other) bool

Available on Signal<bool>, provided by the SignalBoolExt extension

The logical conjunction ("and") of this and other.
operator &(int other) int

Available on Signal<int>, provided by the SignalIntExt extension

Bit-wise and operator.
operator *(BigInt other) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Multiplies other by this big integer.
operator *(int times) String

Available on Signal<String>, provided by the SignalStringExt extension

Creates a new string by concatenating this string with itself a number of times.
operator *(num other) double

Available on Signal<double>, provided by the SignalDoubleExt extension

operator *(num other) num

Available on Signal<num>, provided by the SignalNumExt extension

Multiplies this number by other.
operator +(BigInt other) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Adds other to this big integer.
operator +(Signal<String> other) String

Available on Signal<String>, provided by the SignalStringExt extension

Creates a new string by concatenating this string with other.
operator +(num other) double

Available on Signal<double>, provided by the SignalDoubleExt extension

operator +(List<E> other) List<E>

Available on Signal<List<E>>, provided by the SignalListExt extension

Returns the concatenation of this list and other.
operator +(num other) num

Available on Signal<num>, provided by the SignalNumExt extension

Adds other to this number.
operator -(BigInt other) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Subtracts other from this big integer.
operator -(num other) double

Available on Signal<double>, provided by the SignalDoubleExt extension

operator -(num other) num

Available on Signal<num>, provided by the SignalNumExt extension

Subtracts other from this number.
operator /(num other) double

Available on Signal<num>, provided by the SignalNumExt extension

Divides this number by other.
operator /(num other) double

Available on Signal<double>, provided by the SignalDoubleExt extension

operator /(BigInt other) double

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Double division operator.
operator <(num other) bool

Available on Signal<num>, provided by the SignalNumExt extension

Whether this number is numerically smaller than other.
operator <(BigInt other) bool

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Whether this big integer is numerically smaller than other.
operator <<(int shiftAmount) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Shift the bits of this integer to the left by shiftAmount.
operator <<(int shiftAmount) int

Available on Signal<int>, provided by the SignalIntExt extension

Shift the bits of this integer to the left by shiftAmount.
operator <=(num other) bool

Available on Signal<num>, provided by the SignalNumExt extension

Whether this number is numerically smaller than or equal to other.
operator <=(BigInt other) bool

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Whether other is numerically greater than this big integer.
operator ==(Object other) bool
The equality operator.
override
operator >(num other) bool

Available on Signal<num>, provided by the SignalNumExt extension

Whether this number is numerically greater than other.
operator >(BigInt other) bool

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Whether this big integer is numerically greater than other.
operator >=(num other) bool

Available on Signal<num>, provided by the SignalNumExt extension

Whether this number is numerically greater than or equal to other.
operator >=(BigInt other) bool

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Whether other is numerically smaller than this big integer.
operator >>(int shiftAmount) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Shift the bits of this integer to the right by shiftAmount.
operator >>(int shiftAmount) int

Available on Signal<int>, provided by the SignalIntExt extension

Shift the bits of this integer to the right by shiftAmount.
operator >>>(int shiftAmount) int

Available on Signal<int>, provided by the SignalIntExt extension

Bitwise unsigned right shift by shiftAmount bits.
operator [](Object? key) → V?

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

The value for the given key, or null if key is not in the map.
operator [](int index) → E

Available on Signal<List<E>>, provided by the SignalListExt extension

The object at the given index in the list.
operator [](int index) String?

Available on Signal<String?>, provided by the SignalStringNullExt extension

The character (as a single-code-unit String) at the given index.
operator [](int index) → E?

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

The object at the given index in the list.
operator [](int index) String

Available on Signal<String>, provided by the SignalStringExt extension

The character (as a single-code-unit String) at the given index.
operator [](Object? key) → V?

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

The value for the given key, or null if key is not in the map.
operator []=(int index, E valueToSet) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Sets the value at the given index in the list to value.
operator []=(int index, E valueToSet) → void

Available on Signal<List<E>?>, provided by the SignalListNullExt extension

Sets the value at the given index in the list to value.
operator []=(K key, V valueToSet) → void

Available on Signal<Map<K, V>?>, provided by the SignalMapNullExt extension

Associates the key with the given value.
operator []=(K key, V valueToSet) → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Associates the key with the given value.
operator ^(int other) int

Available on Signal<int>, provided by the SignalIntExt extension

Bit-wise exclusive-or operator.
operator ^(BigInt other) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Bit-wise exclusive-or operator.
operator ^(bool other) bool

Available on Signal<bool>, provided by the SignalBoolExt extension

The logical exclusive disjunction ("exclusive or") of this and other.
operator unary-() double

Available on Signal<double>, provided by the SignalDoubleExt extension

operator unary-() BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Return the negative value of this integer.
operator unary-() num

Available on Signal<num>, provided by the SignalNumExt extension

The negation of this value.
operator unary-() int

Available on Signal<int>, provided by the SignalIntExt extension

Return the negative value of this integer.
operator |(BigInt other) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Bit-wise or operator.
operator |(bool other) bool

Available on Signal<bool>, provided by the SignalBoolExt extension

The logical disjunction ("inclusive or") of this and other.
operator |(int other) int

Available on Signal<int>, provided by the SignalIntExt extension

Bit-wise or operator.
operator ~() int

Available on Signal<int>, provided by the SignalIntExt extension

The bit-wise negate operator.
operator ~() BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

The bit-wise negate operator.
operator ~/(num other) int

Available on Signal<double>, provided by the SignalDoubleExt extension

operator ~/(BigInt other) BigInt

Available on Signal<BigInt>, provided by the SignalBigIntExt extension

Truncating integer division operator.
operator ~/(num other) int

Available on Signal<num>, provided by the SignalNumExt extension

Truncating division operator.