hasRequired property

bool get hasRequired

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

Implementation

bool get hasRequired;