hasPragmaVmEntryPoint property
Return true
if this element has an annotation of the form
@pragma("vm:entry-point")
.
Implementation
bool get hasPragmaVmEntryPoint {
var metadata = this.metadata;
for (var i = 0; i < metadata.length; i++) {
var annotation = metadata[i];
if (annotation.isPragmaVmEntryPoint) {
return true;
}
}
return false;
}