EmpireStateChanged<T> class
Null safety
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.
read-only, inherited
- nextValue → T?
-
final
- previousValue → T?
-
final
- propertyName → String?
-
final
- 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
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< entries, {String? propertyName}) → EmpireStateChangedK, V> > - 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
-
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