getGetter abstract method

  1. @Deprecated('Use getGetter2() instead')
PropertyAccessorElement? getGetter(
  1. String name
)

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

Implementation

@Deprecated('Use getGetter2() instead')
PropertyAccessorElement? getGetter(String name);