ObservableComposite<T> constructor
ObservableComposite<T> ({
- bool coalesce = false,
- List<
ObserveAware> ? values, - bool withStackTrace = false,
Changes are published synchronously by default. When coalesce
is set,
the changes in the current execution block are collected, and only the
one event with null value will be published (in an async scheduled microtask).
Implementation
ObservableComposite(
{bool coalesce = false,
List<ObserveAware>? values,
bool withStackTrace = false})
: _withStackTrace = withStackTrace,
super(coalesce) {
if (values != null) {
for (var ref in values) {
register(ref);
}
}
}