required property

bool? required
final

A Boolean attribute indicating that an option with a non-empty string value must be selected.

Implementation

final bool? required;