hasVisibleForTesting property
Return true
if this element has an annotation of the form
@visibleForTesting
.
Implementation
@override
bool get hasVisibleForTesting {
final metadata = this.metadata;
for (var i = 0; i < metadata.length; i++) {
var annotation = metadata[i];
if (annotation.isVisibleForTesting) {
return true;
}
}
return false;
}