ExpectedStreamVersion class

Available Extensions

Constructors

ExpectedStreamVersion(int value)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
Get version value
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
toTruncatePosition([int offset = StreamTruncatePosition.Include]) StreamTruncatePosition
Get stream truncate position from

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

any → const ExpectedStreamVersion
Any stream state is expected
noStream → const ExpectedStreamVersion
Not stream is expected