lookUpMethod2 abstract method
- @Deprecated('Use lookUpMethod3() instead')
- String name,
- LibraryElement library, {
- bool concrete = false,
- bool inherited = false,
- 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
@Deprecated('Use lookUpMethod3() instead')
MethodElement? lookUpMethod2(
String name,
LibraryElement library, {
bool concrete = false,
bool inherited = false,
bool recoveryStatic = false,
});