hasPublicGetter property

bool hasPublicGetter

Implementation

bool get hasPublicGetter => hasGetter && getter.isPublic;