required property

bool required
final

Whether the input is required.

If required and not present, will throw exception.

Implementation

final bool required;