getMethod abstract method

MethodElement? getMethod(
  1. String name
)

The method defined directly in this class or augmentation that has the given name.

Implementation

// TODO(scheglov): Deprecate and remove it.
MethodElement? getMethod(String name);