RecordChange<K, V> class
abstract
Record change info streamed during StoreRef.onChange.
Handle both add, update and delete
- Available extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAdd → bool
-
Available on RecordChange<
True if the record was added.K, V> , provided by the SembastRecordChangeExtension extensionno setter - isDelete → bool
-
Available on RecordChange<
true if the record was deleted.K, V> , provided by the SembastRecordChangeExtension extensionno setter - isUpdate → bool
-
Available on RecordChange<
True if the record was updated.K, V> , provided by the SembastRecordChangeExtension extensionno setter -
newSnapshot
→ RecordSnapshot<
K, V> ? -
The new record value, null for record removed
no setter
- newValue → V?
-
Available on RecordChange<
The new record value, null for record removedK, V> , provided by the SembastRecordChangeExtension extensionno setter -
oldSnapshot
→ RecordSnapshot<
K, V> ? -
The previous record snapshot, null for record added.
no setter
- oldValue → V?
-
Available on RecordChange<
The previous record value, null for record added.K, V> , provided by the SembastRecordChangeExtension extensionno setter -
ref
→ RecordRef<
K, V> -
Available on RecordChange<
The record ref.K, V> , provided by the SembastRecordChangeExtension extensionno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cast<
RK extends Key?, RV extends Value?> () → RecordChange< RK, RV> - Cast if needed
-
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