DVConflictError class

A write refused because the record changed since it was read (DV-HISTORY-001).

Implemented types

Constructors

DVConflictError({required String table, required Object key, required Map<String, Object?> mine, required Map<String, Object?> theirs, required Map<String, Object?>? base, required int? expectedVersion, required int actualVersion})

Properties

actualVersion → int
The version the row holds.
final
base → Map<String, Object?>?
What this session read, or null when it wrote without reading -- which is the lost update with extra steps, and refused for the same reason.
final
code → String
final
expectedVersion → int?
The version this session read, or null when it read none.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Object
final
mine → Map<String, Object?>
What this session wrote.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
table → String
final
theirs → Map<String, Object?>
What the row holds now.
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