lookUpInheritedGetterOrMethod abstract method

  1. @Deprecated('Use lookupGetter2 and/or lookupMethod2 instead')
ExecutableElement? lookUpInheritedGetterOrMethod(
  1. String name,
  2. {LibraryElement? library}
)

Look up the member with the given name in this type and all extended and mixed in classes, starting from this type. If the search fails, 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 and/or lookupMethod2 instead')
ExecutableElement? lookUpInheritedGetterOrMethod(String name,
    {LibraryElement? library});