TStoreChanges class
The store changes model. This is the base class for all store changes models. It is used to notify the UI of changes in the store.
- Inheritance
-
- Object
- TModel
- TStoreChanges
Constructors
- TStoreChanges({required TStoreChangeType type, dynamic value, String? key})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
The key of the change.
final
-
props
→ List<
Object?> -
Gets the properties of this object.
This getter is used to compare objects.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - type → TStoreChangeType
-
The type of change.
final
- value → dynamic
-
The value of the change.
final
Methods
-
assignValue<
T> (T? value, {T? defaultValue, bool loose = true}) → T? -
inherited
-
clone(
) → TStoreChanges -
Clone this object.
override
-
copyWith(
{TStoreChangeType? type, dynamic value, String? key}) → TStoreChanges -
Copy this object with the given parameters.
override
-
copyWithDefaults(
) → TModel -
inherited
-
merge(
covariant TStoreChanges model) → TStoreChanges -
Merge this object with the given model.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited