lookUpMethod abstract method

MethodElement? lookUpMethod({
  1. required String name,
  2. required LibraryElement library,
})

Returns the element representing the method 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

MethodElement? lookUpMethod({
  required String name,
  required LibraryElement library,
});