Skip to content

RPStepReorganizerRule

Reorganizes the survey steps and removes all steps that arent specified by the reorderingMap. The survey will then go to the specified step

Inheritance
Annotations

Constructors

RPStepReorganizerRule.fromJson

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

RPStepReorganizerRule

RPStepReorganizerRule({
  1. required Map<int, String> reorderingMap,
})

Properties

fromJsonFunction

Function get fromJsonFunction
override

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

reorderingMap

Map<int, String> reorderingMap
getter/setter pair

Those steps will be removed which are not selected

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.