required property

bool required
final

Whether input is required (non-empty).

Implementation

final bool required;