ConflictReason enum

Why a write is waiting for a decision.

Kept distinct because they are different situations and an app showing them to someone should say different things.

Inheritance
Available extensions

Values

concurrentModification → const ConflictReason

The record moved between the change being made and the queue reaching it.

rejected → const ConflictReason

The server refused for a reason retrying cannot change — the data no longer satisfies the collection's rules, the record is gone, the caller is not permitted, a unique value is taken.

unknown → const ConflictReason

Recorded before this distinction existed. Those were all concurrent modifications, since a refusal used to be retried until dropped.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<ConflictReason>
A constant List of the values in this enum, in order of their declaration.