lookUpInheritedGetter abstract method

  1. @Deprecated('Use lookupGetter2 instead')
PropertyAccessorElement? lookUpInheritedGetter(
  1. String name,
  2. {LibraryElement? library,
  3. bool thisType = true}
)

Look up the member with the given name in this type and all extended and mixed in classes, and by default including thisType. If the search fails, this will then search interfaces.

Return the element representing the member that was found, or null if there is no getter with the given name.

The library determines if a private member name is visible, and does not need to be supplied for public names.

Implementation

@Deprecated('Use lookupGetter2 instead')
PropertyAccessorElement? lookUpInheritedGetter(String name,
    {LibraryElement? library, bool thisType = true});