hasMustCallSuper property

  1. @override
bool get hasMustCallSuper
inherited

Whether the element has an annotation of the form @mustCallSuper.

Implementation

@override
bool get hasMustCallSuper {
  var metadata = this.metadata;
  for (var i = 0; i < metadata.length; i++) {
    var annotation = metadata[i];
    if (annotation.isMustCallSuper) {
      return true;
    }
  }
  return false;
}