Javase dependency issue

I would like some help on dependency javase.

When below dependency is used it does not import all the classes.

implementation ‘com.google.zxing:javase:3.5.1’

I am specifically looking to import the MatrixToImageWriter class through this dependency.

Any help would be highly appreciated.

Regards,
Swathi

That dependency contains the class you are after.
Can you provide more information what your problem is?
If you just don’t find the class in the IDE, make sure you refreshed the Gradle project.