redeclare top-level constant

Object const redeclare

Annotation on extension type members which redeclare superinterface members.

Tools, such as the analyzer, can provide feedback if

  • the annotation is associated with anything other than a valid instance member of an extension type (a method, operator, getter, or setter) or
  • is applied to a member that does not redeclare a member from either the extended type or a superinterface.

Implementation

const Object redeclare = _Redeclare();