hasInternal property

  1. @override
bool get hasInternal
inherited

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

Implementation

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