hasDeprecated property

  1. @override
bool get hasDeprecated
inherited

Whether the element has an annotation of the form @deprecated or @Deprecated('..').

Implementation

@override
bool get hasDeprecated {
  return (_getMetadataFlags() & _metadataFlag_hasDeprecated) != 0;
}