lookUpGetter abstract method

PropertyAccessorElement? lookUpGetter({
  1. required String name,
  2. required LibraryElement library,
})

Returns the element representing the getter that results from looking up the given name in this class with respect to the given library, or null if the look up fails.

The behavior of this method is defined by the Dart Language Specification in section 17.18 Lookup.

Implementation

PropertyAccessorElement? lookUpGetter({
  required String name,
  required LibraryElement library,
});