EncoreUnlockMode enum

How a claim is verified in-flow. Set once, at Encore.configure.

The mode selects how a claim flow runs — never how a result is read. The presentation record is written identically in both modes, and the SDK computes no verdict over it.

Inheritance
Available extensions

Values

optimistic → const EncoreUnlockMode

Record the claim and finish; no in-sheet verification runs. The default.

const EncoreUnlockMode('optimistic')
strict → const EncoreUnlockMode

Verify on claim return, and persist unverified claims so they are re-verified across launches — surfacing later as EncoreStrictUnlockVerified on Encore.outcomes.

const EncoreUnlockMode('strict')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
nativeValue → String
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.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<EncoreUnlockMode>
A constant List of the values in this enum, in order of their declaration.