required property

bool? required
getter/setter pair

specifies if the field is required or not if true, a (Required) is concatenated to the label Example: a field with label 'Name' required: true ===> 'Name (Required)' required: false ===> 'Name' if the label is null and the inner label is not null an asterisk will be concatenated to the inner label

Implementation

bool? required;