getter property Null safety

PropertyAccessorElement? getter

Return the getter associated with this variable. If this variable was explicitly defined (is not synthetic) then the getter associated with it will be synthetic.

Implementation

PropertyAccessorElement? get getter;