Item class
A single item of the form.
kind
defines which kind of item it is.
Constructors
- Item({String? description, ImageItem? imageItem, String? itemId, PageBreakItem? pageBreakItem, QuestionGroupItem? questionGroupItem, QuestionItem? questionItem, TextItem? textItem, String? title, VideoItem? videoItem})
- Item.fromJson(Map json_)
Properties
- description ↔ String?
-
The description of the item.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageItem ↔ ImageItem?
-
Displays an image on the page.
getter/setter pair
- itemId ↔ String?
-
The item ID.
getter/setter pair
- pageBreakItem ↔ PageBreakItem?
-
Starts a new page with a title.
getter/setter pair
- questionGroupItem ↔ QuestionGroupItem?
-
Poses one or more questions to the user with a single major prompt.
getter/setter pair
- questionItem ↔ QuestionItem?
-
Poses a question to the user.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textItem ↔ TextItem?
-
Displays a title and description on the page.
getter/setter pair
- title ↔ String?
-
The title of the item.
getter/setter pair
- videoItem ↔ VideoItem?
-
Displays a video on the page.
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