RPIntegerAnswerFormat class
Class representing an Answer Format that lets participants input a number (integer)
- Inheritance
- Object
- RPAnswerFormat
- RPIntegerAnswerFormat
- Annotations
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
- RPIntegerAnswerFormat()
-
RPIntegerAnswerFormat.fromJson(Map<
String, dynamic> json) -
factory
- RPIntegerAnswerFormat.withParams(int _minValue, [ int _maxValue, [ String _suffix ])
Properties
- maxValue ↔ int
-
The maximum value of the range. The participant can not proceed if the number is outside the range.
read / write
- minValue ↔ int
-
The minimum value of the range. The participant can not proceed if the number is outside the range.
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 text to show after the input field. If '''null''' then no text is shown.
read-only
- 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