hasReopen property

  1. @override
bool get hasReopen
inherited

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

Implementation

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