SpecQuestionOption class
One option of a question (SOM §11.9.2): - (a) text, or - **(b)** text
for the recommended one.
Constructors
- SpecQuestionOption(String letter, String text, {bool bold = false})
-
Creates an option.
const
Properties
- bold → bool
-
Whether the option is written bold — the recommended one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- letter → String
-
The lowercase letter.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
The option's text, its continuation lines joined with one space.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - The canonical JSON form.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited