ScheduleConflictException class
Thrown when a schedule mutation conflicts with a newer store version.
- Implemented types
Constructors
- ScheduleConflictException(String id, {required int expectedVersion, required int actualVersion})
-
Creates a conflict error for the given entry
id.
Properties
- actualVersion → int
-
Version currently persisted in the store.
final
- expectedVersion → int
-
Version the caller attempted to update.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Identifier of the conflicted schedule entry.
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited