hasAlwaysThrows property
Whether the element has an annotation of the form @alwaysThrows
.
Implementation
@override
bool get hasAlwaysThrows {
var metadata = this.metadata;
for (var i = 0; i < metadata.length; i++) {
var annotation = metadata[i];
if (annotation.isAlwaysThrows) {
return true;
}
}
return false;
}