expectedVersion property
int?
expectedVersion
If available, the expected version specified for the operation that failed.
Implementation
int? get expectedVersion => actualStreamRevision == StreamRevision.none
? null
: actualStreamRevision.value.toInt();