RecordChange<K, V> class Null safety

Record change info streamed during StoreRef.onChange.

Handle both add, update and delete

Available Extensions

Constructors

RecordChange()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
newSnapshot RecordSnapshot<K, V>?
The new record value, null for record removed
read-only
oldSnapshot RecordSnapshot<K, V>?
The previous record snapshot, null for record added.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

cast<RK, RV>() RecordChange<RK, RV>
Cast if needed
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited