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
- SignalBigIntExt
- SignalBigIntNullExt
- SignalBoolExt
- SignalDateTimeExt
- SignalDateTimeNullExt
- SignalDoubleExt
- SignalDoubleNullExt
- SignalIntExt
- SignalIntNullExt
- SignalIterableExt
- SignalIterableNullExt
- SignalListExt
- SignalListNullExt
- SignalMapExt
- SignalMapNullExt
- SignalNullExt
- SignalNumExt
- SignalNumNullExt
- SignalSetExt
- SignalSetNullExt
- SignalStringExt
- SignalStringNullExt
Properties
- bitLength → int?
-
Available on Signal<
Returns the minimum number of bits required to store this integer.int?> , provided by the SignalIntNullExt extensionno setter - bitLength → int
-
Available on Signal<
Returns the minimum number of bits required to store this big integer.BigInt> , provided by the SignalBigIntExt extensionno setter - bitLength → int?
-
Available on Signal<
Returns the minimum number of bits required to store this big integer.BigInt?> , provided by the SignalBigIntNullExt extensionno setter - bitLength → int
-
Available on Signal<
Returns the minimum number of bits required to store this integer.int> , provided by the SignalIntExt extensionno setter - boundInstance → Object?
-
The reference instance to the current state.
no setterinherited
-
codeUnits
→ List<
int> ? -
Available on Signal<
An unmodifiable list of the UTF-16 code units of this string.String?> , provided by the SignalStringNullExt extensionno setter -
codeUnits
→ List<
int> -
Available on Signal<
An unmodifiable list of the UTF-16 code units of this string.String> , provided by the SignalStringExt extensionno setter - day → int
-
Available on Signal<
The day of the monthDateTime> , provided by the SignalDateTimeExt extension[1..31]
.no setter - day → int?
-
Available on Signal<
The day of the monthDateTime?> , provided by the SignalDateTimeNullExt extension[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<
The map entries ofMap< , provided by the SignalMapNullExt extensionK, V> ?>this
.no setter -
entries
→ Iterable<
MapEntry< K, V> > -
Available on Signal<
The map entries ofMap< , provided by the SignalMapExt extensionK, V> >this
.no setter - eventHandler → EventHandler
-
no setterinherited
- first ← E
-
Available on Signal<
The first element of the list.List< , provided by the SignalListNullExt extensionE> ?>no getter - first ↔ E
-
Available on Signal<
Returns the first element.List< , provided by the SignalListExt extensionE> >getter/setter pair - first → E?
-
Available on Signal<
Returns the first element.Iterable< , provided by the SignalIterableNullExt extensionE> ?>no setter - first → E
-
Available on Signal<
Returns the first element.Iterable< , provided by the SignalIterableExt extensionE> >no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- hour → int?
-
Available on Signal<
The hour of the day, expressed as in a 24-hour clockDateTime?> , provided by the SignalDateTimeNullExt extension[0..23]
.no setter - hour → int
-
Available on Signal<
The hour of the day, expressed as in a 24-hour clockDateTime> , provided by the SignalDateTimeExt extension[0..23]
.no setter - isDisposed → bool
-
Returns
true
if the state has been disposed.no setterinherited - isEmpty → bool
-
Available on Signal<
Whether there is no key/value pair in the map.Map< , provided by the SignalMapExt extensionK, V> >no setter - isEmpty → bool
-
Available on Signal<
Whether this string is empty.String> , provided by the SignalStringExt extensionno setter - isEmpty → bool
-
Available on Signal<
Whether this collection has no elements.Iterable< , provided by the SignalIterableExt extensionE> >no setter - isEmpty → bool?
-
Available on Signal<
Whether there is no key/value pair in the map.Map< , provided by the SignalMapNullExt extensionK, V> ?>no setter - isEmpty → bool?
-
Available on Signal<
Whether this collection has no elements.Iterable< , provided by the SignalIterableNullExt extensionE> ?>no setter - isEmpty → bool?
-
Available on Signal<
Whether this string is empty.String?> , provided by the SignalStringNullExt extensionno setter - isEven → bool
-
Available on Signal<
Returns true if and only if this integer is even.int> , provided by the SignalIntExt extensionno setter - isEven → bool?
-
Available on Signal<
Whether this big integer is even.BigInt?> , provided by the SignalBigIntNullExt extensionno setter - isEven → bool
-
Available on Signal<
Whether this big integer is even.BigInt> , provided by the SignalBigIntExt extensionno setter - isEven → bool?
-
Available on Signal<
Returns true if and only if this integer is even.int?> , provided by the SignalIntNullExt extensionno setter - isFinite → bool?
-
Available on Signal<
Whether this number is finite.num?> , provided by the SignalNumNullExt extensionno setter - isFinite → bool
-
Available on Signal<
Whether this number is finite.num> , provided by the SignalNumExt extensionno setter - isInfinite → bool
-
Available on Signal<
Whether this number is positive infinity or negative infinity.num> , provided by the SignalNumExt extensionno setter - isInfinite → bool?
-
Available on Signal<
Whether this number is positive infinity or negative infinity.num?> , provided by the SignalNumNullExt extensionno setter - isNaN → bool?
-
Available on Signal<
Whether this number is a Not-a-Number value.num?> , provided by the SignalNumNullExt extensionno setter - isNaN → bool
-
Available on Signal<
Whether this number is a Not-a-Number value.num> , provided by the SignalNumExt extensionno setter - isNegative → bool?
-
Available on Signal<
Whether this number is negative.num?> , provided by the SignalNumNullExt extensionno setter - isNegative → bool?
-
Available on Signal<
Whether this number is negative.BigInt?> , provided by the SignalBigIntNullExt extensionno setter - isNegative → bool
-
Available on Signal<
Whether this number is negative.BigInt> , provided by the SignalBigIntExt extensionno setter - isNegative → bool
-
Available on Signal<
Whether this number is negative.num> , provided by the SignalNumExt extensionno setter - isNotEmpty → bool
-
Available on Signal<
Whether this collection has at least one element.Iterable< , provided by the SignalIterableExt extensionE> >no setter - isNotEmpty → bool
-
Available on Signal<
Whether this string is not empty.String> , provided by the SignalStringExt extensionno setter - isNotEmpty → bool?
-
Available on Signal<
Whether this collection has at least one element.Iterable< , provided by the SignalIterableNullExt extensionE> ?>no setter - isNotEmpty → bool
-
Available on Signal<
Whether there is at least one key/value pair in the map.Map< , provided by the SignalMapExt extensionK, V> >no setter - isNotEmpty → bool?
-
Available on Signal<
Whether this string is not empty.String?> , provided by the SignalStringNullExt extensionno setter - isNotEmpty → bool?
-
Available on Signal<
Whether there is at least one key/value pair in the map.Map< , provided by the SignalMapNullExt extensionK, V> ?>no setter - isOdd → bool?
-
Available on Signal<
Whether this big integer is odd.BigInt?> , provided by the SignalBigIntNullExt extensionno setter - isOdd → bool
-
Available on Signal<
Returns true if and only if this integer is odd.int> , provided by the SignalIntExt extensionno setter - isOdd → bool?
-
Available on Signal<
Returns true if and only if this integer is odd.int?> , provided by the SignalIntNullExt extensionno setter - isOdd → bool
-
Available on Signal<
Whether this big integer is odd.BigInt> , provided by the SignalBigIntExt extensionno setter - isValidInt → bool?
-
Available on Signal<
Whether this big integer can be represented as anBigInt?> , provided by the SignalBigIntNullExt extensionint
without losing precision.no setter - isValidInt → bool
-
Available on Signal<
Whether this big integer can be represented as anBigInt> , provided by the SignalBigIntExt extensionint
without losing precision.no setter -
iterator
→ Iterator<
E> -
Available on Signal<
Returns a newIterable< , provided by the SignalIterableExt extensionE> >Iterator
that allows iterating the elements of thisIterable
.no setter -
iterator
→ Iterator<
E> ? -
Available on Signal<
An iterator that iterates over the elements of this set.Set< , provided by the SignalSetNullExt extensionE> ?>no setter -
iterator
→ Iterator<
E> ? -
Available on Signal<
Returns a newIterable< , provided by the SignalIterableNullExt extensionE> ?>Iterator
that allows iterating the elements of thisIterable
.no setter -
iterator
→ Iterator<
E> -
Available on Signal<
An iterator that iterates over the elements of this set.Set< , provided by the SignalSetExt extensionE> >no setter -
keys
→ Iterable<
K> -
Available on Signal<
The keys ofMap< , provided by the SignalMapExt extensionK, V> >this
.no setter -
keys
→ Iterable<
K> ? -
Available on Signal<
The keys ofMap< , provided by the SignalMapNullExt extensionK, V> ?>this
.no setter - last ← E
-
Available on Signal<
The last element of the list.List< , provided by the SignalListNullExt extensionE> ?>no getter - last → E
-
Available on Signal<
Returns the last element.Iterable< , provided by the SignalIterableExt extensionE> >no setter - last → E?
-
Available on Signal<
Returns the last element.Iterable< , provided by the SignalIterableNullExt extensionE> ?>no setter - last ↔ E
-
Available on Signal<
Returns the last element.List< , provided by the SignalListExt extensionE> >getter/setter pair - length → int?
-
Available on Signal<
Returns the number of elements inIterable< , provided by the SignalIterableNullExt extensionE> ?>this
.no setter - length → int?
-
Available on Signal<
The length of the string.String?> , provided by the SignalStringNullExt extensionno setter - length → int
-
Available on Signal<
Returns the number of elements inIterable< , provided by the SignalIterableExt extensionE> >this
.no setter - length → int
-
Available on Signal<
The length of the string.String> , provided by the SignalStringExt extensionno setter - length ↔ int
-
Available on Signal<
The number of objects in this list.List< , provided by the SignalListExt extensionE> >getter/setter pair - length → int?
-
Available on Signal<
The number of key/value pairs in the map.Map< , provided by the SignalMapNullExt extensionK, V> ?>no setter - length ↔ int
-
Available on Signal<
The number of objects in this list.List< , provided by the SignalListNullExt extensionE> ?>getter/setter pair - length → int
-
Available on Signal<
The number of key/value pairs in the map.Map< , provided by the SignalMapExt extensionK, V> >no setter - microsecond → int
-
Available on Signal<
The microsecondDateTime> , provided by the SignalDateTimeExt extension[0...999]
.no setter - microsecond → int?
-
Available on Signal<
The microsecondDateTime?> , provided by the SignalDateTimeNullExt extension[0...999]
.no setter - microsecondsSinceEpoch → int
-
Available on Signal<
The number of microseconds since the "Unix epoch" 1970-01-01T00:00:00Z (UTC).DateTime> , provided by the SignalDateTimeExt extensionno setter - microsecondsSinceEpoch → int?
-
Available on Signal<
The number of microseconds since the "Unix epoch" 1970-01-01T00:00:00Z (UTC).DateTime?> , provided by the SignalDateTimeNullExt extensionno setter - millisecond → int
-
Available on Signal<
The millisecondDateTime> , provided by the SignalDateTimeExt extension[0...999]
.no setter - millisecond → int?
-
Available on Signal<
The millisecondDateTime?> , provided by the SignalDateTimeNullExt extension[0...999]
.no setter - millisecondsSinceEpoch → int?
-
Available on Signal<
The number of milliseconds since the "Unix epoch" 1970-01-01T00:00:00Z (UTC).DateTime?> , provided by the SignalDateTimeNullExt extensionno setter - millisecondsSinceEpoch → int
-
Available on Signal<
The number of milliseconds since the "Unix epoch" 1970-01-01T00:00:00Z (UTC).DateTime> , provided by the SignalDateTimeExt extensionno setter - minute → int
-
Available on Signal<
The minuteDateTime> , provided by the SignalDateTimeExt extension[0...59]
.no setter - minute → int?
-
Available on Signal<
The minuteDateTime?> , provided by the SignalDateTimeNullExt extension[0...59]
.no setter - month → int?
-
Available on Signal<
The monthDateTime?> , provided by the SignalDateTimeNullExt extension[1..12]
.no setter - month → int
-
Available on Signal<
The monthDateTime> , provided by the SignalDateTimeExt extension[1..12]
.no setter -
notNull
→ Signal<
T> -
Available on Signal<
Returns a newT?> , provided by the SignalNullExt extensionSignal<T>
with the value of the currentSignal<T?>
if it's not null.no setter -
reversed
→ Iterable<
E> ? -
Available on Signal<
An Iterable of the objects in this list in reverse order.List< , provided by the SignalListNullExt extensionE> ?>no setter -
reversed
→ Iterable<
E> -
Available on Signal<
An Iterable of the objects in this list in reverse order.List< , provided by the SignalListExt extensionE> >no setter - runes → Runes?
-
Available on Signal<
An Iterable of Unicode code-points of this string.String?> , provided by the SignalStringNullExt extensionno setter - runes → Runes
-
Available on Signal<
An Iterable of Unicode code-points of this string.String> , provided by the SignalStringExt extensionno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- second → int
-
Available on Signal<
The secondDateTime> , provided by the SignalDateTimeExt extension[0...59]
.no setter - second → int?
-
Available on Signal<
The secondDateTime?> , provided by the SignalDateTimeNullExt extension[0...59]
.no setter - sign → int
-
Available on Signal<
Returns the sign of this big integer.BigInt> , provided by the SignalBigIntExt extensionno setter - sign → int?
-
Available on Signal<
Returns the sign of this big integer.BigInt?> , provided by the SignalBigIntNullExt extensionno setter - sign → num?
-
Available on Signal<
Negative one, zero or positive one depending on the sign and numerical value of this number.num?> , provided by the SignalNumNullExt extensionno setter - sign → int
-
Available on Signal<
Returns the sign of this integer.int> , provided by the SignalIntExt extensionno setter - sign → num
-
Available on Signal<
Negative one, zero or positive one depending on the sign and numerical value of this number.num> , provided by the SignalNumExt extensionno setter - sign → double
-
Available on Signal<
The sign of the double's numerical value.double> , provided by the SignalDoubleExt extensionno setter - sign → double?
-
Available on Signal<
The sign of the double's numerical value.double?> , provided by the SignalDoubleNullExt extensionno setter - sign → int?
-
Available on Signal<
Returns the sign of this integer.int?> , provided by the SignalIntNullExt extensionno setter - single → E?
-
Available on Signal<
Checks that this iterable has only one element, and returns that element.Iterable< , provided by the SignalIterableNullExt extensionE> ?>no setter - single → E
-
Available on Signal<
Checks that this iterable has only one element, and returns that element.Iterable< , provided by the SignalIterableExt extensionE> >no setter -
stateManagement
→ StateManagement<
IState> -
no setterinherited
- timeZoneName → String?
-
Available on Signal<
The time zone name.DateTime?> , provided by the SignalDateTimeNullExt extensionno setter - timeZoneName → String
-
Available on Signal<
The time zone name.DateTime> , provided by the SignalDateTimeExt extensionno setter - timeZoneOffset → Duration
-
Available on Signal<
The time zone offset, which is the difference between local time and UTC.DateTime> , provided by the SignalDateTimeExt extensionno setter - timeZoneOffset → Duration?
-
Available on Signal<
The time zone offset, which is the difference between local time and UTC.DateTime?> , provided by the SignalDateTimeNullExt extensionno setter - value ↔ T
-
Returns the value of the signal.
getter/setter pair
-
values
→ Iterable<
V> ? -
Available on Signal<
The values ofMap< , provided by the SignalMapNullExt extensionK, V> ?>this
.no setter -
values
→ Iterable<
V> -
Available on Signal<
The values ofMap< , provided by the SignalMapExt extensionK, V> >this
.no setter - weekday → int?
-
Available on Signal<
The day of the weekDateTime?> , provided by the SignalDateTimeNullExt extensionmonday
..sunday
.no setter - weekday → int
-
Available on Signal<
The day of the weekDateTime> , provided by the SignalDateTimeExt extensionmonday
..sunday
.no setter - year → int?
-
Available on Signal<
The year.DateTime?> , provided by the SignalDateTimeNullExt extensionno setter - year → int
-
Available on Signal<
The year.DateTime> , provided by the SignalDateTimeExt extensionno setter
Methods
-
abs(
) → BigInt -
Available on Signal<
Returns the absolute value of this integer.BigInt> , provided by the SignalBigIntExt extension -
abs(
) → int? -
Available on Signal<
Returns the absolute value of this integer.int?> , provided by the SignalIntNullExt extension -
abs(
) → BigInt? -
Available on Signal<
Returns the absolute value of this integer.BigInt?> , provided by the SignalBigIntNullExt extension -
abs(
) → int -
Available on Signal<
Returns the absolute value of this integer.int> , provided by the SignalIntExt extension -
abs(
) → double? -
Available on Signal<
Returns the absolute value of this integer.double?> , provided by the SignalDoubleNullExt extension -
abs(
) → num? -
Available on Signal<
The absolute value of this number.num?> , provided by the SignalNumNullExt extension -
abs(
) → double -
Available on Signal<
Returns the absolute value of this integer.double> , provided by the SignalDoubleExt extension -
abs(
) → num -
Available on Signal<
The absolute value of this number.num> , provided by the SignalNumExt extension -
add(
Duration duration) → DateTime? -
Available on Signal<
Returns a new DateTime instance withDateTime?> , provided by the SignalDateTimeNullExt extensionduration
added tothis
. -
add(
E valueToAdd) → void -
Available on Signal<
Adds value to the end of this list, extending the length by one.List< , provided by the SignalListExt extensionE> > -
add(
E valueToAdd) → void -
Available on Signal<
Adds value to the end of this list, extending the length by one.List< , provided by the SignalListNullExt extensionE> ?> -
add(
E valueToAdd) → bool? -
Available on Signal<
Adds value to the set.Set< , provided by the SignalSetNullExt extensionE> ?> -
add(
E valueToAdd) → bool -
Available on Signal<
Adds value to the set.Set< , provided by the SignalSetExt extensionE> > -
add(
Duration duration) → DateTime -
Available on Signal<
Returns a new DateTime instance withDateTime> , provided by the SignalDateTimeExt extensionduration
added tothis
. -
addAll(
Iterable< E> iterable) → void -
Available on Signal<
Appends all objects ofList< , provided by the SignalListExt extensionE> >iterable
to the end of this list. -
addAll(
Iterable< E> iterable) → void -
Available on Signal<
Appends all objects ofList< , provided by the SignalListNullExt extensionE> ?>iterable
to the end of this list. -
addAll(
Iterable< E> elements) → void -
Available on Signal<
Adds allSet< , provided by the SignalSetNullExt extensionE> ?>elements
to this set. -
addAll(
Map< K, V> other) → void -
Available on Signal<
Adds all key/value pairs ofMap< , provided by the SignalMapExt extensionK, V> >other
to this map. -
addAll(
Iterable< E> elements) → void -
Available on Signal<
Adds allSet< , provided by the SignalSetExt extensionE> >elements
to this set. -
addAll(
Map< K, V> other) → void -
Available on Signal<
Adds all key/value pairs ofMap< , provided by the SignalMapNullExt extensionK, V> ?>other
to this map. -
addEntries(
Iterable< MapEntry< newEntries) → voidK, V> > -
Available on Signal<
Adds all key/value pairs ofMap< , provided by the SignalMapExt extensionK, V> >newEntries
to this map. -
addEntries(
Iterable< MapEntry< newEntries) → voidK, V> > -
Available on Signal<
Adds all key/value pairs ofMap< , provided by the SignalMapNullExt extensionK, V> ?>newEntries
to this map. -
any(
bool test(E element)) → bool -
Available on Signal<
Checks whether any element of this iterable satisfiesIterable< , provided by the SignalIterableExt extensionE> >test
. -
any(
bool test(E element)) → bool? -
Available on Signal<
Checks whether any element of this iterable satisfiesIterable< , provided by the SignalIterableNullExt extensionE> ?>test
. -
asMap(
) → Map< int, E> -
Available on Signal<
An unmodifiable Map view of this list.List< , provided by the SignalListExt extensionE> > -
asMap(
) → Map< int, E> ? -
Available on Signal<
An unmodifiable Map view of this list.List< , provided by the SignalListNullExt extensionE> ?> -
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<
Provides a view of this iterable as an iterable ofIterable< , provided by the SignalIterableExt extensionE> >R
instances. -
cast<
R> () → Set< R> ? -
Available on Signal<
Provides a view of this set as a set ofSet< , provided by the SignalSetNullExt extensionE> ?>R
instances. -
cast<
R> () → Iterable< R> ? -
Available on Signal<
Provides a view of this iterable as an iterable ofIterable< , provided by the SignalIterableNullExt extensionE> ?>R
instances. -
cast<
R> () → Set< R> -
Available on Signal<
Provides a view of this set as a set ofSet< , provided by the SignalSetExt extensionE> >R
instances. -
cast<
RK, RV> () → Map< RK, RV> ? -
Available on Signal<
Provides a view of this map as havingMap< , provided by the SignalMapNullExt extensionK, V> ?>RK
keys andRV
instances, if necessary. -
cast<
RK, RV> () → Map< RK, RV> -
Available on Signal<
Provides a view of this map as havingMap< , provided by the SignalMapExt extensionK, V> >RK
keys andRV
instances, if necessary. -
cast<
R> () → List< R> ? -
Available on Signal<
Returns a view of this list as a list ofList< , provided by the SignalListNullExt extensionE> ?>R
instances. -
cast<
R> () → List< R> -
Available on Signal<
Returns a view of this list as a list ofList< , provided by the SignalListExt extensionE> >R
instances. -
ceil(
) → int? -
Available on Signal<
Returns the least integer that is not smaller than this number.double?> , provided by the SignalDoubleNullExt extension -
ceil(
) → int? -
Available on Signal<
Returnsint?> , provided by the SignalIntNullExt extensionthis
. -
ceil(
) → int -
Available on Signal<
Returnsint> , provided by the SignalIntExt extensionthis
. -
ceil(
) → int? -
Available on Signal<
The least integer no smaller thannum?> , provided by the SignalNumNullExt extensionthis
. -
ceil(
) → int -
Available on Signal<
The least integer no smaller thannum> , provided by the SignalNumExt extensionthis
. -
ceil(
) → int -
Available on Signal<
Returns the least integer that is not smaller than this number.double> , provided by the SignalDoubleExt extension -
ceilToDouble(
) → double? -
Available on Signal<
Returnsint?> , provided by the SignalIntNullExt extensionthis.toDouble()
. -
ceilToDouble(
) → double -
Available on Signal<
Returns the least integer double value no smaller thandouble> , provided by the SignalDoubleExt extensionthis
. -
ceilToDouble(
) → double? -
Available on Signal<
Returns the least double integer value no smaller thannum?> , provided by the SignalNumNullExt extensionthis
. -
ceilToDouble(
) → double? -
Available on Signal<
Returns the least integer double value no smaller thandouble?> , provided by the SignalDoubleNullExt extensionthis
. -
ceilToDouble(
) → double -
Available on Signal<
Returns the least double integer value no smaller thannum> , provided by the SignalNumExt extensionthis
. -
ceilToDouble(
) → double -
Available on Signal<
Returnsint> , provided by the SignalIntExt extensionthis.toDouble()
. -
clamp(
num lowerLimit, num upperLimit) → num -
Available on Signal<
Returns this num clamped to be in the rangenum> , provided by the SignalNumExt extensionlowerLimit
-upperLimit
. -
clamp(
num lowerLimit, num upperLimit) → num? -
Available on Signal<
Returns this num clamped to be in the rangenum?> , provided by the SignalNumNullExt extensionlowerLimit
-upperLimit
. -
clear(
) → void -
Available on Signal<
Removes all objects from this list; the length of the list becomes zero.List< , provided by the SignalListExt extensionE> > -
clear(
) → void -
Available on Signal<
Removes all entries from the map.Map< , provided by the SignalMapNullExt extensionK, V> ?> -
clear(
) → void -
Available on Signal<
Removes all objects from this list; the length of the list becomes zero.List< , provided by the SignalListNullExt extensionE> ?> -
clear(
) → void -
Available on Signal<
Removes all elements from the set.Set< , provided by the SignalSetExt extensionE> > -
clear(
) → void -
Available on Signal<
Removes all entries from the map.Map< , provided by the SignalMapExt extensionK, V> > -
clear(
) → void -
Available on Signal<
Removes all elements from the set.Set< , provided by the SignalSetNullExt extensionE> ?> -
codeUnitAt(
int index) → int? -
Available on Signal<
Returns the 16-bit UTF-16 code unit at the givenString?> , provided by the SignalStringNullExt extensionindex
. -
codeUnitAt(
int index) → int -
Available on Signal<
Returns the 16-bit UTF-16 code unit at the givenString> , provided by the SignalStringExt extensionindex
. -
compareTo(
num other) → int -
Available on Signal<
Compares this tonum> , provided by the SignalNumExt extensionother
. -
compareTo(
num other) → int? -
Available on Signal<
Compares this tonum?> , provided by the SignalNumNullExt extensionother
. -
compareTo(
DateTime other) → int? -
Available on Signal<
Compares this DateTime Object toDateTime?> , provided by the SignalDateTimeNullExt extensionother
, returning zero if the values are equal. -
compareTo(
BigInt other) → int -
Available on Signal<
Compares this toBigInt> , provided by the SignalBigIntExt extensionother
. -
compareTo(
String other) → int -
Available on Signal<
Compares this string toString> , provided by the SignalStringExt extensionother
. -
compareTo(
DateTime other) → int -
Available on Signal<
Compares this DateTime Object toDateTime> , provided by the SignalDateTimeExt extensionother
, returning zero if the values are equal. -
compareTo(
BigInt other) → int? -
Available on Signal<
Compares this toBigInt?> , provided by the SignalBigIntNullExt extensionother
. -
compareTo(
String other) → int? -
Available on Signal<
Compares this string toString?> , provided by the SignalStringNullExt extensionother
. -
contains(
Object? valueToEvaluate) → bool -
Available on Signal<
Whether value is in the set.Set< , provided by the SignalSetExt extensionE> > -
contains(
Pattern other, [int startIndex = 0]) → bool -
Available on Signal<
Whether this string contains a match ofString> , provided by the SignalStringExt extensionother
. -
contains(
Object? valueToEvaluate) → bool? -
Available on Signal<
Whether value is in the set.Set< , provided by the SignalSetNullExt extensionE> ?> -
contains(
Object? element) → bool -
Available on Signal<
Whether the collection contains an element equal toIterable< , provided by the SignalIterableExt extensionE> >element
. -
contains(
Pattern other, [int startIndex = 0]) → bool? -
Available on Signal<
Whether this string contains a match ofString?> , provided by the SignalStringNullExt extensionother
. -
contains(
Object? element) → bool? -
Available on Signal<
Whether the collection contains an element equal toIterable< , provided by the SignalIterableNullExt extensionE> ?>element
. -
containsAll(
Iterable< Object?> other) → bool -
Available on Signal<
Whether this set contains all the elements ofSet< , provided by the SignalSetExt extensionE> >other
. -
containsAll(
Iterable< Object?> other) → bool? -
Available on Signal<
Whether this set contains all the elements ofSet< , provided by the SignalSetNullExt extensionE> ?>other
. -
containsKey(
Object? key) → bool -
Available on Signal<
Whether this map contains the givenMap< , provided by the SignalMapExt extensionK, V> >key
. -
containsKey(
Object? key) → bool? -
Available on Signal<
Whether this map contains the givenMap< , provided by the SignalMapNullExt extensionK, V> ?>key
. -
containsValue(
Object? valueToEvaluate) → bool -
Available on Signal<
Whether this map contains the given value.Map< , provided by the SignalMapExt extensionK, V> > -
containsValue(
Object? valueToEvaluate) → bool? -
Available on Signal<
Whether this map contains the given value.Map< , provided by the SignalMapNullExt extensionK, V> ?> -
difference(
Set< Object?> other) → Set<E> ? -
Available on Signal<
Creates a new set with the elements of this that are not inSet< , provided by the SignalSetNullExt extensionE> ?>other
. -
difference(
DateTime other) → Duration -
Available on Signal<
Returns a Duration with the difference when subtractingDateTime> , provided by the SignalDateTimeExt extensionother
fromthis
. -
difference(
DateTime other) → Duration? -
Available on Signal<
Returns a Duration with the difference when subtractingDateTime?> , provided by the SignalDateTimeNullExt extensionother
fromthis
. -
difference(
Set< Object?> other) → Set<E> -
Available on Signal<
Creates a new set with the elements of this that are not inSet< , provided by the SignalSetExt extensionE> >other
. -
dispose(
) → void -
Called when this object is removed
inherited
-
elementAt(
int index) → E -
Available on Signal<
Returns theIterable< , provided by the SignalIterableExt extensionE> >index
th element. -
elementAt(
int index) → E? -
Available on Signal<
Returns theIterable< , provided by the SignalIterableNullExt extensionE> ?>index
th element. -
endsWith(
String other) → bool -
Available on Signal<
Whether this string ends withString> , provided by the SignalStringExt extensionother
. -
endsWith(
String other) → bool? -
Available on Signal<
Whether this string ends withString?> , provided by the SignalStringNullExt extensionother
. -
every(
bool test(E element)) → bool -
Available on Signal<
Checks whether every element of this iterable satisfiesIterable< , provided by the SignalIterableExt extensionE> >test
. -
every(
bool test(E element)) → bool? -
Available on Signal<
Checks whether every element of this iterable satisfiesIterable< , provided by the SignalIterableNullExt extensionE> ?>test
. -
expand<
T> (Iterable< T> toElements(E element)) → Iterable<T> -
Available on Signal<
Expands each element of this Iterable into zero or more elements.Iterable< , provided by the SignalIterableExt extensionE> > -
expand<
T> (Iterable< T> toElements(E element)) → Iterable<T> ? -
Available on Signal<
Expands each element of this Iterable into zero or more elements.Iterable< , provided by the SignalIterableNullExt extensionE> ?> -
fillRange(
int start, int end, [E? fillValue]) → void -
Available on Signal<
Overwrites a range of elements withList< , provided by the SignalListExt extensionE> >fillValue
. -
fillRange(
int start, int end, [E? fillValue]) → void -
Available on Signal<
Overwrites a range of elements withList< , provided by the SignalListNullExt extensionE> ?>fillValue
. -
firstWhere(
bool test(E element), {E orElse()?}) → E? -
Available on Signal<
Returns the first element that satisfies the given predicateIterable< , provided by the SignalIterableNullExt extensionE> ?>test
. -
firstWhere(
bool test(E element), {E orElse()?}) → E -
Available on Signal<
Returns the first element that satisfies the given predicateIterable< , provided by the SignalIterableExt extensionE> >test
. -
floor(
) → int -
Available on Signal<
Returns the greatest integer no greater than this number.double> , provided by the SignalDoubleExt extension -
floor(
) → int? -
Available on Signal<
The greatest integer no greater than this number.num?> , provided by the SignalNumNullExt extension -
floor(
) → int -
Available on Signal<
Returnsint> , provided by the SignalIntExt extensionthis
. -
floor(
) → int? -
Available on Signal<
Returns the greatest integer no greater than this number.double?> , provided by the SignalDoubleNullExt extension -
floor(
) → int -
Available on Signal<
The greatest integer no greater than this number.num> , provided by the SignalNumExt extension -
floor(
) → int? -
Available on Signal<
Returnsint?> , provided by the SignalIntNullExt extensionthis
. -
floorToDouble(
) → double? -
Available on Signal<
Returnsint?> , provided by the SignalIntNullExt extensionthis.toDouble()
. -
floorToDouble(
) → double -
Available on Signal<
Returnsint> , provided by the SignalIntExt extensionthis.toDouble()
. -
floorToDouble(
) → double -
Available on Signal<
Returns the greatest double integer value no greater thannum> , provided by the SignalNumExt extensionthis
. -
floorToDouble(
) → double? -
Available on Signal<
Returns the greatest integer double value no greater thandouble?> , provided by the SignalDoubleNullExt extensionthis
. -
floorToDouble(
) → double -
Available on Signal<
Returns the greatest integer double value no greater thandouble> , provided by the SignalDoubleExt extensionthis
. -
floorToDouble(
) → double? -
Available on Signal<
Returns the greatest double integer value no greater thannum?> , provided by the SignalNumNullExt extensionthis
. -
fold<
T> (T initialValue, T combine(T previousValue, E element)) → T -
Available on Signal<
Reduces a collection to a single value by iteratively combining each element of the collection with an existing valueIterable< , provided by the SignalIterableExt extensionE> > -
fold<
T> (T initialValue, T combine(T previousValue, E element)) → T? -
Available on Signal<
Reduces a collection to a single value by iteratively combining each element of the collection with an existing valueIterable< , provided by the SignalIterableNullExt extensionE> ?> -
followedBy(
Iterable< E> other) → Iterable<E> -
Available on Signal<
Returns the lazy concatenation of this iterable andIterable< , provided by the SignalIterableExt extensionE> >other
. -
followedBy(
Iterable< E> other) → Iterable<E> ? -
Available on Signal<
Returns the lazy concatenation of this iterable andIterable< , provided by the SignalIterableNullExt extensionE> ?>other
. -
forEach(
void action(K key, V value)) → void -
Available on Signal<
AppliesMap< , provided by the SignalMapNullExt extensionK, V> ?>action
to each key/value pair of the map. -
forEach(
void action(E element)) → void -
Available on Signal<
InvokesIterable< , provided by the SignalIterableExt extensionE> >action
on each element of this iterable in iteration order. -
forEach(
void action(K key, V value)) → void -
Available on Signal<
AppliesMap< , provided by the SignalMapExt extensionK, V> >action
to each key/value pair of the map. -
forEach(
void action(E element)) → void -
Available on Signal<
InvokesIterable< , provided by the SignalIterableNullExt extensionE> ?>action
on each element of this iterable in iteration order. -
gcd(
BigInt other) → BigInt? -
Available on Signal<
Returns the greatest common divisor of this big integer andBigInt?> , provided by the SignalBigIntNullExt extensionother
. -
gcd(
int other) → int? -
Available on Signal<
Returns the greatest common divisor of this integer andint?> , provided by the SignalIntNullExt extensionother
. -
gcd(
BigInt other) → BigInt -
Available on Signal<
Returns the greatest common divisor of this big integer andBigInt> , provided by the SignalBigIntExt extensionother
. -
gcd(
int other) → int -
Available on Signal<
Returns the greatest common divisor of this integer andint> , provided by the SignalIntExt extensionother
. -
getRange(
int start, int end) → Iterable< E> ? -
Available on Signal<
Creates an Iterable that iterates over a range of elements.List< , provided by the SignalListNullExt extensionE> ?> -
getRange(
int start, int end) → Iterable< E> -
Available on Signal<
Creates an Iterable that iterates over a range of elements.List< , provided by the SignalListExt extensionE> > -
indexOf(
Pattern pattern, [int start = 0]) → int? -
Available on Signal<
Returns the position of the first match ofString?> , provided by the SignalStringNullExt extensionpattern
in this string, starting atstart
, inclusive: -
indexOf(
Pattern pattern, [int start = 0]) → int -
Available on Signal<
Returns the position of the first match ofString> , provided by the SignalStringExt extensionpattern
in this string, starting atstart
, inclusive: -
indexOf(
E element, [int start = 0]) → int? -
Available on Signal<
The first index ofList< , provided by the SignalListNullExt extensionE> ?>element
in this list. -
indexOf(
E element, [int start = 0]) → int -
Available on Signal<
The first index ofList< , provided by the SignalListExt extensionE> >element
in this list. -
indexWhere(
bool test(E element), [int start = 0]) → int? -
Available on Signal<
The first index in the list that satisfies the providedList< , provided by the SignalListNullExt extensionE> ?>test
. -
indexWhere(
bool test(E element), [int start = 0]) → int -
Available on Signal<
The first index in the list that satisfies the providedList< , provided by the SignalListExt extensionE> >test
. -
insert(
int index, E element) → void -
Available on Signal<
InsertsList< , provided by the SignalListExt extensionE> >element
at positionindex
in this list. -
insert(
int index, E element) → void -
Available on Signal<
InsertsList< , provided by the SignalListNullExt extensionE> ?>element
at positionindex
in this list. -
insertAll(
int index, Iterable< E> iterable) → void -
Available on Signal<
Inserts all objects ofList< , provided by the SignalListExt extensionE> >iterable
at positionindex
in this list. -
insertAll(
int index, Iterable< E> iterable) → void -
Available on Signal<
Inserts all objects ofList< , provided by the SignalListNullExt extensionE> ?>iterable
at positionindex
in this list. -
intersection(
Set< Object?> other) → Set<E> -
Available on Signal<
Creates a new set which is the intersection between this set andSet< , provided by the SignalSetExt extensionE> >other
. -
intersection(
Set< Object?> other) → Set<E> ? -
Available on Signal<
Creates a new set which is the intersection between this set andSet< , provided by the SignalSetNullExt extensionE> ?>other
. -
isAfter(
DateTime other) → bool -
Available on Signal<
Returns true ifDateTime> , provided by the SignalDateTimeExt extensionthis
occurs afterother
. -
isAfter(
DateTime other) → bool? -
Available on Signal<
Returns true ifDateTime?> , provided by the SignalDateTimeNullExt extensionthis
occurs afterother
. -
isAtSameMomentAs(
DateTime other) → bool? -
Available on Signal<
Returns true ifDateTime?> , provided by the SignalDateTimeNullExt extensionthis
occurs at the same moment asother
. -
isAtSameMomentAs(
DateTime other) → bool -
Available on Signal<
Returns true ifDateTime> , provided by the SignalDateTimeExt extensionthis
occurs at the same moment asother
. -
isBefore(
DateTime other) → bool -
Available on Signal<
Returns true ifDateTime> , provided by the SignalDateTimeExt extensionthis
occurs beforeother
. -
isBefore(
DateTime other) → bool? -
Available on Signal<
Returns true ifDateTime?> , provided by the SignalDateTimeNullExt extensionthis
occurs beforeother
. -
join(
[String separator = ""]) → String? -
Available on Signal<
Converts each element to a String and concatenates the strings.Iterable< , provided by the SignalIterableNullExt extensionE> ?> -
join(
[String separator = ""]) → String -
Available on Signal<
Converts each element to a String and concatenates the strings.Iterable< , provided by the SignalIterableExt extensionE> > -
lastIndexOf(
E element, [int? start]) → int? -
Available on Signal<
The last index ofList< , provided by the SignalListNullExt extensionE> ?>element
in this list. -
lastIndexOf(
Pattern pattern, [int? start]) → int -
Available on Signal<
The starting position of the last matchString> , provided by the SignalStringExt extensionpattern
in this string. -
lastIndexOf(
Pattern pattern, [int? start]) → int? -
Available on Signal<
The starting position of the last matchString?> , provided by the SignalStringNullExt extensionpattern
in this string. -
lastIndexOf(
E element, [int? start]) → int -
Available on Signal<
The last index ofList< , provided by the SignalListExt extensionE> >element
in this list. -
lastIndexWhere(
bool test(E element), [int? start]) → int -
Available on Signal<
The last index in the list that satisfies the providedList< , provided by the SignalListExt extensionE> >test
. -
lastIndexWhere(
bool test(E element), [int? start]) → int? -
Available on Signal<
The last index in the list that satisfies the providedList< , provided by the SignalListNullExt extensionE> ?>test
. -
lastWhere(
bool test(E element), {E orElse()?}) → E? -
Available on Signal<
Returns the last element that satisfies the given predicateIterable< , provided by the SignalIterableNullExt extensionE> ?>test
. -
lastWhere(
bool test(E element), {E orElse()?}) → E -
Available on Signal<
Returns the last element that satisfies the given predicateIterable< , provided by the SignalIterableExt extensionE> >test
. -
lookup(
Object? object) → E? -
Available on Signal<
If an object equal toSet< , provided by the SignalSetExt extensionE> >object
is in the set, return it. -
lookup(
Object? object) → E? -
Available on Signal<
If an object equal toSet< , provided by the SignalSetNullExt extensionE> ?>object
is in the set, return it. -
map<
K2, V2> (MapEntry< K2, V2> convert(K key, V value)) → Map<K2, V2> ? -
Available on Signal<
Returns a new map where all entries of this map are transformed by the givenMap< , provided by the SignalMapNullExt extensionK, V> ?>convert
function. -
map<
T> (T toElement(E e)) → Iterable< T> ? -
Available on Signal<
The current elements of this iterable modified byIterable< , provided by the SignalIterableNullExt extensionE> ?>toElement
. -
map<
K2, V2> (MapEntry< K2, V2> convert(K key, V value)) → Map<K2, V2> -
Available on Signal<
Returns a new map where all entries of this map are transformed by the givenMap< , provided by the SignalMapExt extensionK, V> >convert
function. -
map<
T> (T toElement(E e)) → Iterable< T> -
Available on Signal<
The current elements of this iterable modified byIterable< , provided by the SignalIterableExt extensionE> >toElement
. -
modInverse(
int modulus) → int? -
Available on Signal<
Returns the modular multiplicative inverse of this integer moduloint?> , provided by the SignalIntNullExt extensionmodulus
. -
modInverse(
BigInt modulus) → BigInt? -
Available on Signal<
Returns the modular multiplicative inverse of this big integer moduloBigInt?> , provided by the SignalBigIntNullExt extensionmodulus
. -
modInverse(
BigInt modulus) → BigInt -
Available on Signal<
Returns the modular multiplicative inverse of this big integer moduloBigInt> , provided by the SignalBigIntExt extensionmodulus
. -
modInverse(
int modulus) → int -
Available on Signal<
Returns the modular multiplicative inverse of this integer moduloint> , provided by the SignalIntExt extensionmodulus
. -
modPow(
int exponent, int modulus) → int -
Available on Signal<
Returns this integer to the power ofint> , provided by the SignalIntExt extensionexponent
modulomodulus
. -
modPow(
int exponent, int modulus) → int? -
Available on Signal<
Returns this integer to the power ofint?> , provided by the SignalIntNullExt extensionexponent
modulomodulus
. -
modPow(
BigInt exponent, BigInt modulus) → BigInt? -
Available on Signal<
Returns this integer to the power ofBigInt?> , provided by the SignalBigIntNullExt extensionexponent
modulomodulus
. -
modPow(
BigInt exponent, BigInt modulus) → BigInt -
Available on Signal<
Returns this integer to the power ofBigInt> , provided by the SignalBigIntExt extensionexponent
modulomodulus
. -
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<
Pads this string on the left if it is shorter thanString> , provided by the SignalStringExt extensionwidth
. -
padLeft(
int width, [String padding = ' ']) → String? -
Available on Signal<
Pads this string on the left if it is shorter thanString?> , provided by the SignalStringNullExt extensionwidth
. -
padRight(
int width, [String padding = ' ']) → String -
Available on Signal<
Pads this string on the right if it is shorter thanString> , provided by the SignalStringExt extensionwidth
. -
padRight(
int width, [String padding = ' ']) → String? -
Available on Signal<
Pads this string on the right if it is shorter thanString?> , provided by the SignalStringNullExt extensionwidth
. -
pow(
int exponent) → BigInt -
Available on Signal<
ReturnsBigInt> , provided by the SignalBigIntExt extensionthis
to the power ofexponent
. -
pow(
int exponent) → BigInt? -
Available on Signal<
ReturnsBigInt?> , provided by the SignalBigIntNullExt extensionthis
to the power ofexponent
. -
putIfAbsent(
K key, V ifAbsent()) → V? -
Available on Signal<
Look up the value ofMap< , provided by the SignalMapNullExt extensionK, V> ?>key
, or add a new entry if it isn't there. -
putIfAbsent(
K key, V ifAbsent()) → V -
Available on Signal<
Look up the value ofMap< , provided by the SignalMapExt extensionK, V> >key
, or add a new entry if it isn't there. -
reduce(
E combine(E value, E element)) → E -
Available on Signal<
Reduces a collection to a single value by iteratively combining elements of the collection using the provided function.Iterable< , provided by the SignalIterableExt extensionE> > -
reduce(
E combine(E value, E element)) → E? -
Available on Signal<
Reduces a collection to a single value by iteratively combining elements of the collection using the provided function.Iterable< , provided by the SignalIterableNullExt extensionE> ?> -
remainder(
num other) → double? -
Available on Signal<
double?> , provided by the SignalDoubleNullExt extension -
remainder(
BigInt other) → BigInt -
Available on Signal<
Returns the remainder of the truncating division ofBigInt> , provided by the SignalBigIntExt extensionthis
byother
. -
remainder(
num other) → double -
Available on Signal<
double> , provided by the SignalDoubleExt extension -
remainder(
num other) → num -
Available on Signal<
The remainder of the truncating division ofnum> , provided by the SignalNumExt extensionthis
byother
. -
remainder(
num other) → num? -
Available on Signal<
The remainder of the truncating division ofnum?> , provided by the SignalNumNullExt extensionthis
byother
. -
remainder(
BigInt other) → BigInt? -
Available on Signal<
Returns the remainder of the truncating division ofBigInt?> , provided by the SignalBigIntNullExt extensionthis
byother
. -
remove(
Object? valueToRemove) → bool? -
Available on Signal<
Removes the first occurrence of value from this list.List< , provided by the SignalListNullExt extensionE> ?> -
remove(
Object? key) → V? -
Available on Signal<
RemovesMap< , provided by the SignalMapNullExt extensionK, V> ?>key
and its associated value, if present, from the map. -
remove(
Object? valueToRemove) → bool -
Available on Signal<
Removes the first occurrence of value from this list.List< , provided by the SignalListExt extensionE> > -
remove(
Object? valueToRemove) → bool -
Available on Signal<
Removes value from the set.Set< , provided by the SignalSetExt extensionE> > -
remove(
Object? valueToRemove) → bool? -
Available on Signal<
Removes value from the set.Set< , provided by the SignalSetNullExt extensionE> ?> -
remove(
Object? key) → V? -
Available on Signal<
RemovesMap< , provided by the SignalMapExt extensionK, V> >key
and its associated value, if present, from the map. -
removeAll(
Iterable< Object?> elements) → void -
Available on Signal<
Removes each element ofSet< , provided by the SignalSetExt extensionE> >elements
from this set. -
removeAll(
Iterable< Object?> elements) → void -
Available on Signal<
Removes each element ofSet< , provided by the SignalSetNullExt extensionE> ?>elements
from this set. -
removeAt(
int index) → E? -
Available on Signal<
Removes the object at positionList< , provided by the SignalListNullExt extensionE> ?>index
from this list. -
removeAt(
int index) → E -
Available on Signal<
Removes the object at positionList< , provided by the SignalListExt extensionE> >index
from this list. -
removeLast(
) → E -
Available on Signal<
Removes and returns the last object in this list.List< , provided by the SignalListExt extensionE> > -
removeLast(
) → E? -
Available on Signal<
Removes and returns the last object in this list.List< , provided by the SignalListNullExt extensionE> ?> -
removeRange(
int start, int end) → void -
Available on Signal<
Removes a range of elements from the list.List< , provided by the SignalListNullExt extensionE> ?> -
removeRange(
int start, int end) → void -
Available on Signal<
Removes a range of elements from the list.List< , provided by the SignalListExt extensionE> > -
removeWhere(
bool test(E element)) → void -
Available on Signal<
Removes all elements of this set that satisfySet< , provided by the SignalSetExt extensionE> >test
. -
removeWhere(
bool test(E element)) → void -
Available on Signal<
Removes all objects from this list that satisfyList< , provided by the SignalListNullExt extensionE> ?>test
. -
removeWhere(
bool test(K key, V value)) → void -
Available on Signal<
Removes all entries of this map that satisfy the givenMap< , provided by the SignalMapExt extensionK, V> >test
. -
removeWhere(
bool test(E element)) → void -
Available on Signal<
Removes all objects from this list that satisfyList< , provided by the SignalListExt extensionE> >test
. -
removeWhere(
bool test(E element)) → void -
Available on Signal<
Removes all elements of this set that satisfySet< , provided by the SignalSetNullExt extensionE> ?>test
. -
removeWhere(
bool test(K key, V value)) → void -
Available on Signal<
Removes all entries of this map that satisfy the givenMap< , provided by the SignalMapNullExt extensionK, V> ?>test
. -
replaceAll(
Pattern from, String replace) → String? -
Available on Signal<
Replaces all substrings that matchString?> , provided by the SignalStringNullExt extensionfrom
withreplace
. -
replaceAll(
Pattern from, String replace) → String -
Available on Signal<
Replaces all substrings that matchString> , provided by the SignalStringExt extensionfrom
withreplace
. -
replaceAllMapped(
Pattern from, String replace(Match match)) → String -
Available on Signal<
Replace all substrings that matchString> , provided by the SignalStringExt extensionfrom
by a computed string. -
replaceAllMapped(
Pattern from, String replace(Match match)) → String? -
Available on Signal<
Replace all substrings that matchString?> , provided by the SignalStringNullExt extensionfrom
by a computed string. -
replaceFirst(
Pattern from, String to, [int startIndex = 0]) → String? -
Available on Signal<
Creates a new string with the first occurrence ofString?> , provided by the SignalStringNullExt extensionfrom
replaced byto
. -
replaceFirst(
Pattern from, String to, [int startIndex = 0]) → String -
Available on Signal<
Creates a new string with the first occurrence ofString> , provided by the SignalStringExt extensionfrom
replaced byto
. -
replaceFirstMapped(
Pattern from, String replace(Match match), [int startIndex = 0]) → String -
Available on Signal<
Replace the first occurrence ofString> , provided by the SignalStringExt extensionfrom
in this string. -
replaceFirstMapped(
Pattern from, String replace(Match match), [int startIndex = 0]) → String? -
Available on Signal<
Replace the first occurrence ofString?> , provided by the SignalStringNullExt extensionfrom
in this string. -
replaceRange(
int start, int? end, String replacement) → String -
Available on Signal<
Replaces the substring fromString> , provided by the SignalStringExt extensionstart
toend
withreplacement
. -
replaceRange(
int start, int? end, String replacement) → String? -
Available on Signal<
Replaces the substring fromString?> , provided by the SignalStringNullExt extensionstart
toend
withreplacement
. -
replaceRange(
int start, int end, Iterable< E> replacements) → void -
Available on Signal<
Replaces a range of elements with the elements ofList< , provided by the SignalListNullExt extensionE> ?>replacements
. -
replaceRange(
int start, int end, Iterable< E> replacements) → void -
Available on Signal<
Replaces a range of elements with the elements ofList< , provided by the SignalListExt extensionE> >replacements
. -
retainAll(
Iterable< Object?> elements) → void -
Available on Signal<
Removes all elements of this set that are not elements inSet< , provided by the SignalSetNullExt extensionE> ?>elements
. -
retainAll(
Iterable< Object?> elements) → void -
Available on Signal<
Removes all elements of this set that are not elements inSet< , provided by the SignalSetExt extensionE> >elements
. -
retainWhere(
bool test(E element)) → void -
Available on Signal<
Removes all objects from this list that fail to satisfyList< , provided by the SignalListExt extensionE> >test
. -
retainWhere(
bool test(E element)) → void -
Available on Signal<
Removes all elements of this set that fail to satisfySet< , provided by the SignalSetNullExt extensionE> ?>test
. -
retainWhere(
bool test(E element)) → void -
Available on Signal<
Removes all elements of this set that fail to satisfySet< , provided by the SignalSetExt extensionE> >test
. -
retainWhere(
bool test(E element)) → void -
Available on Signal<
Removes all objects from this list that fail to satisfyList< , provided by the SignalListNullExt extensionE> ?>test
. -
round(
) → int -
Available on Signal<
Returns the integer closest to this number.double> , provided by the SignalDoubleExt extension -
round(
) → int -
Available on Signal<
The integer closest to this number.num> , provided by the SignalNumExt extension -
round(
) → int? -
Available on Signal<
Returns the integer closest to this number.double?> , provided by the SignalDoubleNullExt extension -
round(
) → int? -
Available on Signal<
Returnsint?> , provided by the SignalIntNullExt extensionthis
. -
round(
) → int -
Available on Signal<
Returnsint> , provided by the SignalIntExt extensionthis
. -
round(
) → int? -
Available on Signal<
The integer closest to this number.num?> , provided by the SignalNumNullExt extension -
roundToDouble(
) → double -
Available on Signal<
Returns the integer double value closest todouble> , provided by the SignalDoubleExt extensionthis
. -
roundToDouble(
) → double? -
Available on Signal<
Returnsint?> , provided by the SignalIntNullExt extensionthis.toDouble()
. -
roundToDouble(
) → double -
Available on Signal<
The double integer value closest to this value.num> , provided by the SignalNumExt extension -
roundToDouble(
) → double? -
Available on Signal<
Returns the integer double value closest todouble?> , provided by the SignalDoubleNullExt extensionthis
. -
roundToDouble(
) → double? -
Available on Signal<
The double integer value closest to this value.num?> , provided by the SignalNumNullExt extension -
roundToDouble(
) → double -
Available on Signal<
Returnsint> , provided by the SignalIntExt extensionthis.toDouble()
. -
setAll(
int index, Iterable< E> iterable) → void -
Available on Signal<
Overwrites elements with the objects ofList< , provided by the SignalListExt extensionE> >iterable
. -
setAll(
int index, Iterable< E> iterable) → void -
Available on Signal<
Overwrites elements with the objects ofList< , provided by the SignalListNullExt extensionE> ?>iterable
. -
setRange(
int start, int end, Iterable< E> iterable, [int skipCount = 0]) → void -
Available on Signal<
Writes some elements ofList< , provided by the SignalListExt extensionE> >iterable
into a range of this list. -
setRange(
int start, int end, Iterable< E> iterable, [int skipCount = 0]) → void -
Available on Signal<
Writes some elements ofList< , provided by the SignalListNullExt extensionE> ?>iterable
into a range of this list. -
shuffle(
[Random? random]) → void -
Available on Signal<
Shuffles the elements of this list randomly.List< , provided by the SignalListExt extensionE> > -
shuffle(
[Random? random]) → void -
Available on Signal<
Shuffles the elements of this list randomly.List< , provided by the SignalListNullExt extensionE> ?> -
singleWhere(
bool test(E element), {E orElse()?}) → E -
Available on Signal<
Returns the single element that satisfiesIterable< , provided by the SignalIterableExt extensionE> >test
. -
singleWhere(
bool test(E element), {E orElse()?}) → E? -
Available on Signal<
Returns the single element that satisfiesIterable< , provided by the SignalIterableNullExt extensionE> ?>test
. -
skip(
int count) → Iterable< E> -
Available on Signal<
Returns an Iterable that provides all but the firstIterable< , provided by the SignalIterableExt extensionE> >count
elements. -
skip(
int count) → Iterable< E> ? -
Available on Signal<
Returns an Iterable that provides all but the firstIterable< , provided by the SignalIterableNullExt extensionE> ?>count
elements. -
skipWhile(
bool test(E value)) → Iterable< E> ? -
Available on Signal<
Returns anIterable< , provided by the SignalIterableNullExt extensionE> ?>Iterable
that skips leading elements whiletest
is satisfied. -
skipWhile(
bool test(E value)) → Iterable< E> -
Available on Signal<
Returns anIterable< , provided by the SignalIterableExt extensionE> >Iterable
that skips leading elements whiletest
is satisfied. -
sort(
[int compare(E a, E b)?]) → void -
Available on Signal<
Sorts this list according to the order specified by theList< , provided by the SignalListExt extensionE> >compare
function. -
sort(
[int compare(E a, E b)?]) → void -
Available on Signal<
Sorts this list according to the order specified by theList< , provided by the SignalListNullExt extensionE> ?>compare
function. -
split(
Pattern pattern) → List< String> ? -
Available on Signal<
Splits the string at matches ofString?> , provided by the SignalStringNullExt extensionpattern
and returns a list of substrings. -
split(
Pattern pattern) → List< String> -
Available on Signal<
Splits the string at matches ofString> , provided by the SignalStringExt extensionpattern
and returns a list of substrings. -
splitMapJoin(
Pattern pattern, {String onMatch(Match)?, String onNonMatch(String)?}) → String? -
Available on Signal<
Splits the string, converts its parts, and combines them into a new string.String?> , provided by the SignalStringNullExt extension -
splitMapJoin(
Pattern pattern, {String onMatch(Match)?, String onNonMatch(String)?}) → String -
Available on Signal<
Splits the string, converts its parts, and combines them into a new string.String> , provided by the SignalStringExt extension -
startsWith(
Pattern pattern, [int index = 0]) → bool -
Available on Signal<
Whether this string starts with a match ofString> , provided by the SignalStringExt extensionpattern
. -
startsWith(
Pattern pattern, [int index = 0]) → bool? -
Available on Signal<
Whether this string starts with a match ofString?> , provided by the SignalStringNullExt extensionpattern
. -
sublist(
int start, [int? end]) → List< E> -
Available on Signal<
Returns a new list containing the elements betweenList< , provided by the SignalListExt extensionE> >start
andend
. -
sublist(
int start, [int? end]) → List< E> ? -
Available on Signal<
Returns a new list containing the elements betweenList< , provided by the SignalListNullExt extensionE> ?>start
andend
. -
substring(
int start, [int? end]) → String -
Available on Signal<
The substring of this string fromString> , provided by the SignalStringExt extensionstart
, inclusive, toend
, exclusive. -
substring(
int start, [int? end]) → String? -
Available on Signal<
The substring of this string fromString?> , provided by the SignalStringNullExt extensionstart
, inclusive, toend
, exclusive. -
subtract(
Duration duration) → DateTime -
Available on Signal<
Returns a new DateTime instance withDateTime> , provided by the SignalDateTimeExt extensionduration
subtracted fromthis
. -
subtract(
Duration duration) → DateTime? -
Available on Signal<
Returns a new DateTime instance withDateTime?> , provided by the SignalDateTimeNullExt extensionduration
subtracted fromthis
. -
take(
int count) → Iterable< E> -
Available on Signal<
Returns a lazy iterable of theIterable< , provided by the SignalIterableExt extensionE> >count
first elements of this iterable. -
take(
int count) → Iterable< E> ? -
Available on Signal<
Returns a lazy iterable of theIterable< , provided by the SignalIterableNullExt extensionE> ?>count
first elements of this iterable. -
takeWhile(
bool test(E value)) → Iterable< E> ? -
Available on Signal<
Returns a lazy iterable of the leading elements satisfyingIterable< , provided by the SignalIterableNullExt extensionE> ?>test
. -
takeWhile(
bool test(E value)) → Iterable< E> -
Available on Signal<
Returns a lazy iterable of the leading elements satisfyingIterable< , provided by the SignalIterableExt extensionE> >test
. -
toDouble(
) → double -
Available on Signal<
Returns this BigInt as a double.BigInt> , provided by the SignalBigIntExt extension -
toDouble(
) → double -
Available on Signal<
This number as a double.num> , provided by the SignalNumExt extension -
toDouble(
) → double? -
Available on Signal<
Returns this BigInt as a double.BigInt?> , provided by the SignalBigIntNullExt extension -
toDouble(
) → double? -
Available on Signal<
This number as a double.num?> , provided by the SignalNumNullExt extension -
toInt(
) → int -
Available on Signal<
Returns this BigInt as an int.BigInt> , provided by the SignalBigIntExt extension -
toInt(
) → int? -
Available on Signal<
Truncates this num to an integer and returns the result as an int.num?> , provided by the SignalNumNullExt extension -
toInt(
) → int -
Available on Signal<
Truncates this num to an integer and returns the result as an int.num> , provided by the SignalNumExt extension -
toInt(
) → int? -
Available on Signal<
Returns this BigInt as an int.BigInt?> , provided by the SignalBigIntNullExt extension -
toIso8601String(
) → String? -
Available on Signal<
Returns an ISO-8601 full-precision extended format representation.DateTime?> , provided by the SignalDateTimeNullExt extension -
toIso8601String(
) → String -
Available on Signal<
Returns an ISO-8601 full-precision extended format representation.DateTime> , provided by the SignalDateTimeExt extension -
toList(
{bool growable = true}) → List< E> -
Available on Signal<
Creates a List containing the elements of this Iterable.Iterable< , provided by the SignalIterableExt extensionE> > -
toList(
{bool growable = true}) → List< E> ? -
Available on Signal<
Creates a List containing the elements of this Iterable.Iterable< , provided by the SignalIterableNullExt extensionE> ?> -
toLocal(
) → DateTime? -
Available on Signal<
Returns this DateTime value in the local time zone.DateTime?> , provided by the SignalDateTimeNullExt extension -
toLocal(
) → DateTime -
Available on Signal<
Returns this DateTime value in the local time zone.DateTime> , provided by the SignalDateTimeExt extension -
toLowerCase(
) → String -
Available on Signal<
Converts all characters in this string to lower case.String> , provided by the SignalStringExt extension -
toLowerCase(
) → String? -
Available on Signal<
Converts all characters in this string to lower case.String?> , provided by the SignalStringNullExt extension -
toRadixString(
int radix) → String? -
Available on Signal<
ConvertsBigInt?> , provided by the SignalBigIntNullExt extensionthis
to a string representation in the givenradix
. -
toRadixString(
int radix) → String -
Available on Signal<
ConvertsBigInt> , provided by the SignalBigIntExt extensionthis
to a string representation in the givenradix
. -
toRadixString(
int radix) → String -
Available on Signal<
Convertsint> , provided by the SignalIntExt extensionthis
to a string representation in the givenradix
. -
toRadixString(
int radix) → String? -
Available on Signal<
Convertsint?> , provided by the SignalIntNullExt extensionthis
to a string representation in the givenradix
. -
toSet(
) → Set< E> ? -
Available on Signal<
Creates a Set with the same elements and behavior as thisSet< , provided by the SignalSetNullExt extensionE> ?>Set
. -
toSet(
) → Set< E> ? -
Available on Signal<
Creates a Set containing the same elements as this iterable.Iterable< , provided by the SignalIterableNullExt extensionE> ?> -
toSet(
) → Set< E> -
Available on Signal<
Creates a Set containing the same elements as this iterable.Iterable< , provided by the SignalIterableExt extensionE> > -
toSet(
) → Set< E> -
Available on Signal<
Creates a Set with the same elements and behavior as thisSet< , provided by the SignalSetExt extensionE> >Set
. -
toSigned(
int width) → BigInt? -
Available on Signal<
Returns the least significantBigInt?> , provided by the SignalBigIntNullExt extensionwidth
bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit inwidth
bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher thanwidth
. -
toSigned(
int width) → int? -
Available on Signal<
Returns the least significantint?> , provided by the SignalIntNullExt extensionwidth
bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit inwidth
bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher thanwidth
. -
toSigned(
int width) → BigInt -
Available on Signal<
Returns the least significantBigInt> , provided by the SignalBigIntExt extensionwidth
bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit inwidth
bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher thanwidth
. -
toSigned(
int width) → int -
Available on Signal<
Returns the least significantint> , provided by the SignalIntExt extensionwidth
bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit inwidth
bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher thanwidth
. -
toString(
) → String -
A string representation of this object.
override
-
toStringAsExponential(
[int? fractionDigits]) → String? -
Available on Signal<
An exponential string-representation of this number.num?> , provided by the SignalNumNullExt extension -
toStringAsExponential(
[int? fractionDigits]) → String -
Available on Signal<
An exponential string-representation of this number.num> , provided by the SignalNumExt extension -
toStringAsFixed(
int fractionDigits) → String? -
Available on Signal<
A decimal-point string-representation of this number.num?> , provided by the SignalNumNullExt extension -
toStringAsFixed(
int fractionDigits) → String -
Available on Signal<
A decimal-point string-representation of this number.num> , provided by the SignalNumExt extension -
toStringAsPrecision(
int precision) → String? -
Available on Signal<
A string representation withnum?> , provided by the SignalNumNullExt extensionprecision
significant digits. -
toStringAsPrecision(
int precision) → String -
Available on Signal<
A string representation withnum> , provided by the SignalNumExt extensionprecision
significant digits. -
toUnsigned(
int width) → BigInt? -
Available on Signal<
Returns the least significantBigInt?> , provided by the SignalBigIntNullExt extensionwidth
bits of this big integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher thanwidth
. -
toUnsigned(
int width) → int? -
Available on Signal<
Returns the least significantint?> , provided by the SignalIntNullExt extensionwidth
bits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher thanwidth
. -
toUnsigned(
int width) → BigInt -
Available on Signal<
Returns the least significantBigInt> , provided by the SignalBigIntExt extensionwidth
bits of this big integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher thanwidth
. -
toUnsigned(
int width) → int -
Available on Signal<
Returns the least significantint> , provided by the SignalIntExt extensionwidth
bits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher thanwidth
. -
toUpperCase(
) → String -
Available on Signal<
Converts all characters in this string to upper case.String> , provided by the SignalStringExt extension -
toUpperCase(
) → String? -
Available on Signal<
Converts all characters in this string to upper case.String?> , provided by the SignalStringNullExt extension -
toUtc(
) → DateTime -
Available on Signal<
Returns this DateTime value in the UTC time zone.DateTime> , provided by the SignalDateTimeExt extension -
toUtc(
) → DateTime? -
Available on Signal<
Returns this DateTime value in the UTC time zone.DateTime?> , provided by the SignalDateTimeNullExt extension -
trim(
) → String -
Available on Signal<
The string without any leading and trailing whitespace.String> , provided by the SignalStringExt extension -
trim(
) → String? -
Available on Signal<
The string without any leading and trailing whitespace.String?> , provided by the SignalStringNullExt extension -
trimLeft(
) → String -
Available on Signal<
The string without any leading whitespace.String> , provided by the SignalStringExt extension -
trimLeft(
) → String? -
Available on Signal<
The string without any leading whitespace.String?> , provided by the SignalStringNullExt extension -
trimRight(
) → String? -
Available on Signal<
The string without any trailing whitespace.String?> , provided by the SignalStringNullExt extension -
trimRight(
) → String -
Available on Signal<
The string without any trailing whitespace.String> , provided by the SignalStringExt extension -
truncate(
) → int? -
Available on Signal<
The integer obtained by discarding any fractional digits fromnum?> , provided by the SignalNumNullExt extensionthis
. -
truncate(
) → int -
Available on Signal<
The integer obtained by discarding any fractional digits fromnum> , provided by the SignalNumExt extensionthis
. -
truncate(
) → int -
Available on Signal<
Returns the integer obtained by discarding any fractional part of this number.double> , provided by the SignalDoubleExt extension -
truncate(
) → int? -
Available on Signal<
Returns the integer obtained by discarding any fractional part of this number.double?> , provided by the SignalDoubleNullExt extension -
truncate(
) → int -
Available on Signal<
Returnsint> , provided by the SignalIntExt extensionthis
. -
truncate(
) → int? -
Available on Signal<
Returnsint?> , provided by the SignalIntNullExt extensionthis
. -
truncateToDouble(
) → double? -
Available on Signal<
Returns the double integer value obtained by discarding any fractional digits from the double value ofnum?> , provided by the SignalNumNullExt extensionthis
. -
truncateToDouble(
) → double -
Available on Signal<
Returns the double integer value obtained by discarding any fractional digits from the double value ofnum> , provided by the SignalNumExt extensionthis
. -
truncateToDouble(
) → double -
Available on Signal<
Returns the integer double value obtained by discarding any fractional digits fromdouble> , provided by the SignalDoubleExt extensionthis
. -
truncateToDouble(
) → double? -
Available on Signal<
Returns the integer double value obtained by discarding any fractional digits fromdouble?> , provided by the SignalDoubleNullExt extensionthis
. -
truncateToDouble(
) → double -
Available on Signal<
Returnsint> , provided by the SignalIntExt extensionthis.toDouble()
. -
truncateToDouble(
) → double? -
Available on Signal<
Returnsint?> , provided by the SignalIntNullExt extensionthis.toDouble()
. -
unbind(
) → void -
Removes the reference to the object instance
inherited
-
union(
Set< E> other) → Set<E> ? -
Available on Signal<
Creates a new set which contains all the elements of this set andSet< , provided by the SignalSetNullExt extensionE> ?>other
. -
union(
Set< E> other) → Set<E> -
Available on Signal<
Creates a new set which contains all the elements of this set andSet< , provided by the SignalSetExt extensionE> >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<
Updates all values.Map< , provided by the SignalMapNullExt extensionK, V> ?> -
updateAll(
V fnUpdate(K key, V value)) → void -
Available on Signal<
Updates all values.Map< , provided by the SignalMapExt extensionK, V> > -
updateMap(
K key, V fnUpdate(V value), {V ifAbsent()?}) → V? -
Available on Signal<
Updates the value for the providedMap< , provided by the SignalMapNullExt extensionK, V> ?>key
. -
updateMap(
K key, V fnUpdate(V value), {V ifAbsent()?}) → V -
Available on Signal<
Updates the value for the providedMap< , provided by the SignalMapExt extensionK, V> >key
. -
where(
bool test(E element)) → Iterable< E> -
Available on Signal<
Returns a new lazy Iterable with all elements that satisfy the predicateIterable< , provided by the SignalIterableExt extensionE> >test
. -
where(
bool test(E element)) → Iterable< E> ? -
Available on Signal<
Returns a new lazy Iterable with all elements that satisfy the predicateIterable< , provided by the SignalIterableNullExt extensionE> ?>test
. -
whereType<
T> () → Iterable< T> -
Available on Signal<
Returns a new lazy Iterable with all elements that have typeIterable< , provided by the SignalIterableExt extensionE> >T
. -
whereType<
T> () → Iterable< T> ? -
Available on Signal<
Returns a new lazy Iterable with all elements that have typeIterable< , provided by the SignalIterableNullExt extensionE> ?>T
.
Operators
-
operator %(
num other) → num -
Available on Signal<
Euclidean modulo of this number bynum> , provided by the SignalNumExt extensionother
. -
operator %(
BigInt other) → BigInt -
Available on Signal<
Euclidean modulo operator.BigInt> , provided by the SignalBigIntExt extension -
operator %(
num other) → double -
Available on Signal<
double> , provided by the SignalDoubleExt extension -
operator &(
BigInt other) → BigInt -
Available on Signal<
Bit-wise and operator.BigInt> , provided by the SignalBigIntExt extension -
operator &(
bool other) → bool -
Available on Signal<
The logical conjunction ("and") of this andbool> , provided by the SignalBoolExt extensionother
. -
operator &(
int other) → int -
Available on Signal<
Bit-wise and operator.int> , provided by the SignalIntExt extension -
operator *(
BigInt other) → BigInt -
Available on Signal<
MultipliesBigInt> , provided by the SignalBigIntExt extensionother
by this big integer. -
operator *(
int times) → String -
Available on Signal<
Creates a new string by concatenating this string with itself a number of times.String> , provided by the SignalStringExt extension -
operator *(
num other) → double -
Available on Signal<
double> , provided by the SignalDoubleExt extension -
operator *(
num other) → num -
Available on Signal<
Multiplies this number bynum> , provided by the SignalNumExt extensionother
. -
operator +(
BigInt other) → BigInt -
Available on Signal<
AddsBigInt> , provided by the SignalBigIntExt extensionother
to this big integer. -
operator +(
Signal< String> other) → String -
Available on Signal<
Creates a new string by concatenating this string withString> , provided by the SignalStringExt extensionother
. -
operator +(
num other) → double -
Available on Signal<
double> , provided by the SignalDoubleExt extension -
operator +(
List< E> other) → List<E> -
Available on Signal<
Returns the concatenation of this list andList< , provided by the SignalListExt extensionE> >other
. -
operator +(
num other) → num -
Available on Signal<
Addsnum> , provided by the SignalNumExt extensionother
to this number. -
operator -(
BigInt other) → BigInt -
Available on Signal<
SubtractsBigInt> , provided by the SignalBigIntExt extensionother
from this big integer. -
operator -(
num other) → double -
Available on Signal<
double> , provided by the SignalDoubleExt extension -
operator -(
num other) → num -
Available on Signal<
Subtractsnum> , provided by the SignalNumExt extensionother
from this number. -
operator /(
num other) → double -
Available on Signal<
Divides this number bynum> , provided by the SignalNumExt extensionother
. -
operator /(
num other) → double -
Available on Signal<
double> , provided by the SignalDoubleExt extension -
operator /(
BigInt other) → double -
Available on Signal<
Double division operator.BigInt> , provided by the SignalBigIntExt extension -
operator <(
num other) → bool -
Available on Signal<
Whether this number is numerically smaller thannum> , provided by the SignalNumExt extensionother
. -
operator <(
BigInt other) → bool -
Available on Signal<
Whether this big integer is numerically smaller thanBigInt> , provided by the SignalBigIntExt extensionother
. -
operator <<(
int shiftAmount) → BigInt -
Available on Signal<
Shift the bits of this integer to the left byBigInt> , provided by the SignalBigIntExt extensionshiftAmount
. -
operator <<(
int shiftAmount) → int -
Available on Signal<
Shift the bits of this integer to the left byint> , provided by the SignalIntExt extensionshiftAmount
. -
operator <=(
num other) → bool -
Available on Signal<
Whether this number is numerically smaller than or equal tonum> , provided by the SignalNumExt extensionother
. -
operator <=(
BigInt other) → bool -
Available on Signal<
WhetherBigInt> , provided by the SignalBigIntExt extensionother
is numerically greater than this big integer. -
operator ==(
Object other) → bool -
The equality operator.
override
-
operator >(
num other) → bool -
Available on Signal<
Whether this number is numerically greater thannum> , provided by the SignalNumExt extensionother
. -
operator >(
BigInt other) → bool -
Available on Signal<
Whether this big integer is numerically greater thanBigInt> , provided by the SignalBigIntExt extensionother
. -
operator >=(
num other) → bool -
Available on Signal<
Whether this number is numerically greater than or equal tonum> , provided by the SignalNumExt extensionother
. -
operator >=(
BigInt other) → bool -
Available on Signal<
WhetherBigInt> , provided by the SignalBigIntExt extensionother
is numerically smaller than this big integer. -
operator >>(
int shiftAmount) → BigInt -
Available on Signal<
Shift the bits of this integer to the right byBigInt> , provided by the SignalBigIntExt extensionshiftAmount
. -
operator >>(
int shiftAmount) → int -
Available on Signal<
Shift the bits of this integer to the right byint> , provided by the SignalIntExt extensionshiftAmount
. -
operator >>>(
int shiftAmount) → int -
Available on Signal<
Bitwise unsigned right shift byint> , provided by the SignalIntExt extensionshiftAmount
bits. -
operator [](
Object? key) → V? -
Available on Signal<
The value for the givenMap< , provided by the SignalMapNullExt extensionK, V> ?>key
, ornull
ifkey
is not in the map. -
operator [](
int index) → E -
Available on Signal<
The object at the givenList< , provided by the SignalListExt extensionE> >index
in the list. -
operator [](
int index) → String? -
Available on Signal<
The character (as a single-code-unit String) at the givenString?> , provided by the SignalStringNullExt extensionindex
. -
operator [](
int index) → E? -
Available on Signal<
The object at the givenList< , provided by the SignalListNullExt extensionE> ?>index
in the list. -
operator [](
int index) → String -
Available on Signal<
The character (as a single-code-unit String) at the givenString> , provided by the SignalStringExt extensionindex
. -
operator [](
Object? key) → V? -
Available on Signal<
The value for the givenMap< , provided by the SignalMapExt extensionK, V> >key
, ornull
ifkey
is not in the map. -
operator []=(
int index, E valueToSet) → void -
Available on Signal<
Sets the value at the givenList< , provided by the SignalListExt extensionE> >index
in the list to value. -
operator []=(
int index, E valueToSet) → void -
Available on Signal<
Sets the value at the givenList< , provided by the SignalListNullExt extensionE> ?>index
in the list to value. -
operator []=(
K key, V valueToSet) → void -
Available on Signal<
Associates theMap< , provided by the SignalMapNullExt extensionK, V> ?>key
with the given value. -
operator []=(
K key, V valueToSet) → void -
Available on Signal<
Associates theMap< , provided by the SignalMapExt extensionK, V> >key
with the given value. -
operator ^(
int other) → int -
Available on Signal<
Bit-wise exclusive-or operator.int> , provided by the SignalIntExt extension -
operator ^(
BigInt other) → BigInt -
Available on Signal<
Bit-wise exclusive-or operator.BigInt> , provided by the SignalBigIntExt extension -
operator ^(
bool other) → bool -
Available on Signal<
The logical exclusive disjunction ("exclusive or") of this andbool> , provided by the SignalBoolExt extensionother
. -
operator unary-(
) → double -
Available on Signal<
double> , provided by the SignalDoubleExt extension -
operator unary-(
) → BigInt -
Available on Signal<
Return the negative value of this integer.BigInt> , provided by the SignalBigIntExt extension -
operator unary-(
) → num -
Available on Signal<
The negation of this value.num> , provided by the SignalNumExt extension -
operator unary-(
) → int -
Available on Signal<
Return the negative value of this integer.int> , provided by the SignalIntExt extension -
operator |(
BigInt other) → BigInt -
Available on Signal<
Bit-wise or operator.BigInt> , provided by the SignalBigIntExt extension -
operator |(
bool other) → bool -
Available on Signal<
The logical disjunction ("inclusive or") of this andbool> , provided by the SignalBoolExt extensionother
. -
operator |(
int other) → int -
Available on Signal<
Bit-wise or operator.int> , provided by the SignalIntExt extension -
operator ~(
) → int -
Available on Signal<
The bit-wise negate operator.int> , provided by the SignalIntExt extension -
operator ~(
) → BigInt -
Available on Signal<
The bit-wise negate operator.BigInt> , provided by the SignalBigIntExt extension -
operator ~/(
num other) → int -
Available on Signal<
double> , provided by the SignalDoubleExt extension -
operator ~/(
BigInt other) → BigInt -
Available on Signal<
Truncating integer division operator.BigInt> , provided by the SignalBigIntExt extension -
operator ~/(
num other) → int -
Available on Signal<
Truncating division operator.num> , provided by the SignalNumExt extension