hasVisibleForOverriding property

  1. @override
bool get hasVisibleForOverriding
inherited

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

Implementation

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