DropdownElement class
Represents a dropdown model class , used to draw dropdown .
- Inheritance
-
- Object
- ElementEntity
- BaseInputElement<
String> - DropdownElement
Constructors
-
DropdownElement({String elementType = UIElementTypeConstants.dropdown, required String elementId, required String label, required List<
OptionElement> options, String? response, String? defaultValue, bool? optional}) - DropdownElement.fromMap(dynamic map)
-
factory
Properties
- defaultValue ↔ String?
-
getter/setter pairinherited
- elementId ↔ String
-
getter/setter pairinherited
- elementType ↔ String
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- label ↔ String
-
getter/setter pair
- optional ↔ bool
-
getter/setter pairinherited
-
options
↔ List<
OptionElement> -
getter/setter pair
- response ↔ String?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
validateResponse(
) → bool -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited