CurrentStateChanged<T> class

The event that is added to the State stream.

Any event handlers registered with the CurrentStateViewModel.addStateChangedListener function will receive these types of events

Implementers

Constructors

CurrentStateChanged(T? nextValue, T? previousValue, {String? propertyName, String? description, int? sourceHashCode})

Properties

description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
nextValue → T?
final
previousValue → T?
final
propertyName → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceHashCode → int?
final

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

addedAllToList<V>(Iterable<V> newValues, {Iterable<V>? previousValue, String? propertyName, int? sourceHashCode}) → CurrentStateChanged
A factory method which creates a single CurrentStateChanged object with a description describing all the values that were added to the list
addedEntriesToMap<K, V>(Iterable<MapEntry<K, V>> entries, {Iterable<MapEntry<K, V>>? previousValue, String? propertyName, int? sourceHashCode}) → CurrentStateChanged
A factory method which creates a single CurrentStateChanged object with a description describing what MapEntry objects were added to the map
addedMapToMap<K, V>(Map<K, V> addedMap, {Map<K, V>? previousValue, String? propertyName, int? sourceHashCode}) → CurrentStateChanged
A factory method which creates a single CurrentStateChanged object with a description describing what new map values were added to another map
addedToList<V>(V newValue, {String? propertyName, int? sourceHashCode}) → CurrentStateChanged
A factory method which creates a single CurrentStateChanged object with a description describing what value was added to the list
addedToMap<K, V>(K key, V newValue, {String? propertyName, int? sourceHashCode}) → CurrentStateChanged
A factory method which creates a single CurrentStateChanged object with a description describing what key/value was added to the map
clearedList<V>({Iterable<V>? previousItems, String? propertyName, int? sourceHashCode}) → CurrentStateChanged<Iterable<V>>
A factory method which creates a single CurrentStateChanged object with a description stating that the entire list was cleared.
insertAllIntoList<V>(int index, Iterable<V> values, {Iterable<V>? previousValue, String? propertyName, int? sourceHashCode}) → CurrentStateChanged
A factory method which creates a single CurrentStateChanged object with a description describing all the values that were inserted into the list at the specified index
insertIntoList<V>(int index, V value, {String? propertyName, int? sourceHashCode}) → CurrentStateChanged
A factory method which creates a single CurrentStateChanged object with a description describing the value inserted into to the list at the specified index
removedFromList<V>(V removedValue, {String? propertyName, int? sourceHashCode}) → CurrentStateChanged
A factory method which creates a single CurrentStateChanged object with a description describing what value was removed from the list
removedFromMap<K, V>(K key, V? removedValue, {String? propertyName, int? sourceHashCode}) → CurrentStateChanged<V>
A factory method which creates a single CurrentStateChanged object with a description describing what key/value was removed from the map
updateMapEntry<K, V>(K key, V? originalValue, V? nextValue, {String? propertyName, int? sourceHashCode}) → CurrentStateChanged<V>
A factory method which creates a single CurrentStateChanged object with a description describing what changes were made to a map entry, including for which key