RPBooleanAnswerFormat class
Class representing an Answer Format that lets participants choose between true or false (yes or no) options
- Inheritance
- Object
- RPAnswerFormat
- RPBooleanAnswerFormat
- Annotations
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
- RPBooleanAnswerFormat()
-
RPBooleanAnswerFormat.fromJson(Map<
String, dynamic> json) -
factory
- RPBooleanAnswerFormat.withParams(String _trueText String _falseText)
Properties
- falseText ↔ String
-
The text shown for the
false
optionread / write - questionType ↔ QuestionType
-
The Question Type of the Answer Format. Should be implemented in the subclasses.
read / write, inherited-setter, override-getter
- trueText ↔ String
-
The text shown for the
true
optionread / 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