lookUpMethod2 abstract method

  1. @Deprecated('Use lookUpMethod instead')
MethodElement? lookUpMethod2({
  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

@Deprecated('Use lookUpMethod instead')
MethodElement? lookUpMethod2({
  required String name,
  required LibraryElement library,
});