bool hasGetterNoSetter

Source

bool get hasGetterNoSetter => (hasGetter && !hasSetter);