Source
@override List<String> get annotations { List<String> all_annotations = new List<String>(); all_annotations.addAll(super.annotations); if (element is PropertyInducingElement) { var pie = element as PropertyInducingElement; all_annotations.addAll(annotationsFromMetadata(pie.getter?.metadata)); all_annotations.addAll(annotationsFromMetadata(pie.setter?.metadata)); } return all_annotations.toList(growable: false); }