RadioButtonElement constructor

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

Implementation

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