hasRequired property

bool hasRequired

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

Implementation

bool get hasRequired;