CheckBoxElement class

Represents a checkbox model class , used to draw checkbox .

Inheritance

Constructors

CheckBoxElement.new({String elementType = UIElementTypeConstants.checkbox, required String elementId, required String label, required List<OptionElement> options, Map<String, bool>? isChecked, List<String>? defaultValue, List<String>? response, bool? optional})
CheckBoxElement.fromMap(dynamic map)
factory

Properties

defaultValue List<String>?
getter/setter pairinherited
elementId String
getter/setter pairinherited
elementType String
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
isChecked Map<String, bool>?
getter/setter pair
label String
getter/setter pair
optional bool
getter/setter pairinherited
options List<OptionElement>
getter/setter pair
response List<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