lookUpGetter2 abstract method

PropertyAccessorElement? lookUpGetter2(
  1. String name,
  2. LibraryElement library, {
  3. bool concrete = false,
  4. bool inherited = false,
  5. bool recoveryStatic = false,
})

Return the getter with the given name.

If concrete is true, then the concrete implementation is returned, from this type, or its superclass.

If inherited is true, then only getters from the superclass are considered.

If recoveryStatic is true, then static getters of the class, and its superclasses are considered. Clients should not use it.

Implementation

PropertyAccessorElement? lookUpGetter2(
  String name,
  LibraryElement library, {
  bool concrete = false,
  bool inherited = false,
  bool recoveryStatic = false,
});