QuestionPreloader class final

The jr:preload handlers of a form: date, property, timestamp and uid, plus any added with addPreloadHandler.

Port of org.javarosa.core.model.utils.QuestionPreloader.

Constructors

QuestionPreloader({PropertyManager? properties})
Creates a preloader reading properties from properties.

Properties

hashCode → int
The hash code for this object.
no setterinherited
properties → PropertyManager
The properties used by property preloads.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPreloadHandler(PreloadHandler handler) → void
Adds (or replaces) the handler for PreloadHandler.preloadHandled.
getQuestionPreload(String type, String? params) → AnswerValue?
The initial value for a jr:preload type with params.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
questionPostProcess(TreeElement node, String type, String? params) → bool
Runs the finalization step of preload type on node; whether the node changed.
toString() → String
A string representation of this object.
inherited

Operators

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