hasRequired property

bool get hasRequired

Whether the element has an annotation of the form @required.

Implementation

bool get hasRequired;