required property

bool required
final

If true (default), then an error will be thrown if this parameter is not present.

Implementation

final bool required