accessors property Null safety

List<PropertyAccessorElement> accessors

Return a list containing all of the top-level accessors (getters and setters) contained in this compilation unit.

Implementation

List<PropertyAccessorElement> get accessors;