getGetter method Null safety

PropertyAccessorElement? getGetter(
  1. String name
)

Return the element representing the getter with the given name that is declared in this extension, or null if this extension does not declare a getter with the given name.

Implementation

PropertyAccessorElement? getGetter(String name);