required property

bool required
final

Indicates if the field is required (true) or not (false).

Implementation

final bool required;