getSetter abstract method

  1. @Deprecated('Use getSetter2() instead')
PropertyAccessorElement? getSetter(
  1. String name
)

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

Implementation

@Deprecated('Use getSetter2() instead')
PropertyAccessorElement? getSetter(String name);