ConflictPrecondition class

Opaque revision, version, or ETag-like compare-and-set token.

Annotations

Constructors

ConflictPrecondition(String token)
Creates a non-empty opaque token. Fasq never parses its contents.
factory
ConflictPrecondition.fromJson(Map<String, Object?> json)
Decodes a persisted token.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
Serialized opaque token.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Encodes this token without interpreting its contents.
toString() String
A string representation of this object.
inherited

Operators

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