required property
bool
get
required
Implementation
bool get required => hasAttribute('required');
set
required
(bool value)
Implementation
set required(bool value) {
if (value) {
internalSetAttribute('required', '');
} else {
removeAttribute('required');
}
}