hasRequired property

bool hasRequired

Return true if this element has an annotation of the form '@required'.

Implementation

bool get hasRequired;