RPTrailMakingActivity
Trail Making Test.
- Inheritance
-
- Object
- Serializable
- RPStep
- RPActivityStep
- RPTrailMakingActivity
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
RPTrailMakingActivity.fromJson
RPTrailMakingActivity
Contructor for creating a Trail Making Test.
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
trailType
getter/setter pair
The type of trail used in the test.
Methods
calculateScore
Results is number of mistakes made in the trailmaking task. Maximum score is 5 with -1 for each mistake made.
stepBody
- dynamic onResultChange(
- dynamic
- RPActivityEventLogger eventLogger
override
Initiates the UI component for an ActivityStep.
All classes extending an activity step should override this with their own UI components.
toJson
Return a JSON encoding of this object.