DVCapturedChange class
One captured change to one record.
Constructors
-
DVCapturedChange({required String id, required int sequence, required String model, required Object? key, required DVCaptureOp operation, required int version, required DateTime occurredAt, Map<
String, Object?> values = const <String, Object?>{}, Set<String> redacted = const <String>{}, String? tenant, String? transactionId, bool erased = false})
Properties
- erased → bool
-
Whether this change is an erasure, which supersedes every earlier change
to the record however it arrives.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable across redelivery, so a destination can deduplicate on it.
final
- key → Object?
-
final
- model → String
-
The table the record lives in.
final
- occurredAt → DateTime
-
final
- operation → DVCaptureOp
-
final
-
redacted
→ Set<
String> -
Sensitive fields the model declares. Named, never valued.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence → int
-
The change's place in the log. Increasing in commit order.
final
- tenant → String?
-
final
- transactionId → String?
-
final
-
values
→ Map<
String, Object?> -
The record's non-sensitive values after the change; empty for a delete.
final
- version → int
-
The record's version after this change. Two changes to one record that
committed out of order still compare correctly on it.
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