discontinuedPackage fhir_db has been discontinued and replaced by fhir_r4_db.

VersionConflict class

Thrown by FhirDao.saveResource and FhirDao.deleteResource when the caller's expected version (HTTP If-Match) is not the stored one. actual is the stored version, or null when the resource does not exist. Nothing was written.

Implemented types

Constructors

VersionConflict({required String expected, required String? actual})
Creates the conflict between expected and actual.
const

Properties

actual → String?
The version stored, or null when there is no such resource.
final
expected → String
The version the caller required.
final
hashCode → int
The hash code for this object.
no setterinherited
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