ListChange<E> class

A Change emitted by ListEmitter. If ListEmitter.emitDetailedChanges is set to true, will provide a list of ListModifications. Otherwise, will recycle the same cached new ListChange.any object to minimize garbage collection.

Inheritance

Constructors

ListChange(List<ListModification<E>> modifications, {bool quiet = false})
ListChange.any({bool quiet = false})
factory

Properties

any bool
Whether this change is generic or contains specific information about the change. By default ChangeEmitters contained in this library don't contain specific information about a change (except for the Change.quiet value) and instead recycle the same Change object on each change to minimize garbage collection.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
modifications List<ListModification<E>>
final
quiet bool
Whether a change will trigger a parent EmitterContainer to notify its listeners that it has changed. This can be useful if you want to batch changes to children of a EmitterContainer but have the container only emit one change.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited