DropdownElement constructor

DropdownElement({
  1. String elementType = UIElementTypeConstants.dropdown,
  2. required String elementId,
  3. required String label,
  4. required List<OptionElement> options,
  5. String? response,
  6. String? defaultValue,
  7. bool? optional,
})

Implementation

DropdownElement(
    {super.elementType = UIElementTypeConstants.dropdown,
    required super.elementId,
    required this.label,
    required this.options,
    super.response,
    super.defaultValue,
    bool? optional})
    : super(optional: optional ?? true);