I want to get customer gender value like Male or Female in magento2?
How to get it in
I am doing something like this
I referred this link How to get customer gender value with text in magento2?
I don't want to use
ObjectManager just for gender, there must be something via this method