required property

bool? required
finalinherited

Boolean attribute which, if present, indicates that the user must specify a value for the input before the owning form can be submitted.

Implementation

final bool? required;