Option class

An option for a Choice question.

Constructors

Option({String? goToAction, String? goToSectionId, Image? image, bool? isOther, String? value})
Option.fromJson(Map json_)

Properties

goToAction String?
Section navigation type. Possible string values are:
getter/setter pair
goToSectionId String?
Item ID of section header to go to.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
image Image?
Display image as an option.
getter/setter pair
isOther bool?
Whether the option is "other".
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
The choice as presented to the user.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited