getSetter method Null safety

PropertyAccessorElement? getSetter(
  1. String name
)

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

Implementation

PropertyAccessorElement? getSetter(String name);