RandomizationEngine class

Pure Dart engine for deterministic option randomization using a seeded PRNG.

Supports multiple randomization strategies: full shuffle, flip (50% reverse), alphabetical sorting, rotation, and anchored randomization.

Constructors

RandomizationEngine()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createSessionSeed() String
Creates a new random session seed string.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
randomizeOptions(List<QuestionOption> options, RandomizationConfig? config, String sessionSeed) List<QuestionOption>
Randomizes options according to config using sessionSeed for deterministic results within the same session.
toString() String
A string representation of this object.
inherited

Operators

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