ActionChange class final

The before/after provenance of a state change an action produced — the last-write-wins audit trail. from and to are the domain's own representation of the value that changed.

Constructors

ActionChange({required Object? from, required Object? to})
Records that the value moved from from to to.
const

Properties

from → Object?
The value before the action applied.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
to → Object?
The value after the action applied.
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