Annotated<T> constructor

Annotated<T>(
  1. Element element, [
  2. DartObject? annotationObj
])

Implementation

Annotated(this.element, [this.annotationObj])
    : reader = annotationObj == null ? null : ConstantReader(annotationObj);