Skip to content

RPPairedAssociatesLearningActivity

A Paired Associates Learning Test

Inheritance
Annotations

Constructors

RPPairedAssociatesLearningActivity.fromJson

RPPairedAssociatesLearningActivity.fromJson(
  1. Map<String, dynamic> json
)

RPPairedAssociatesLearningActivity

RPPairedAssociatesLearningActivity({
  1. required String identifier,
  2. bool includeInstructions = true,
  3. bool includeResults = true,
  4. int maxTestDuration = 100,
})

Contructor for creating a Paired Associates Learning Test.

Properties

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

maxTestDuration

int maxTestDuration
getter/setter pair

The maximum length of the test. Default is 100 seconds.

Methods

stepBody

Widget stepBody(
  1. dynamic onResultChange(
    1. dynamic
    ),
  2. 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

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.