RPSliderAnswerFormat class

Class representing an Answer Format that lets participants use a slider to choose a value.

Inheritance
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

RPSliderAnswerFormat()
RPSliderAnswerFormat.fromJson(Map<String, dynamic> json)
factory
RPSliderAnswerFormat.withParams(double _minValue, { double _maxValue, { dynamic divisions dynamic prefix dynamic suffix })

Properties

divisions int
The divisions of the range.
read / write
maxValue double
The maximum value of the range.
read / write
minValue double
The minimum value of the range.
read / write
prefix String
The prefix displayed before the value.
read / write
questionType QuestionType
The Question Type of the Answer Format. Should be implemented in the subclasses.
read / write, inherited-setter, override-getter
suffix String
The suffix displayed after yhe value.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() Map<String, dynamic>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited