lookUpMethod2 abstract method

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

Return the method 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 methods from the superclass are considered.

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

Implementation

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