How to chrome cast content from ionic capacitor app

I have been looking out for this since while now. I can see react native providing plugin for this but not ionic.
Is there really a way to achieve this?