EmpireStateChanged<T> class

The event that is added to the State stream.

Any event handlers registered with the EmpireViewModel.addOnStateChangedListener function will receive these types of events

Constructors

EmpireStateChanged(T? nextValue, T? previousValue, {String? propertyName, String? description})

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

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