CheckBoxElement constructor

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

Implementation

CheckBoxElement(
    {super.elementType = UIElementTypeConstants.checkbox,
    required super.elementId,
    required this.label,
    required this.options,
    this.isChecked,
    super.defaultValue,
    List<String>? response,
    bool? optional})
    : super(optional: optional ?? true);