How to get list of product variants

Within a plugin, when handling a product object (ProductEntity), how can I get a list of its variants?
getOption(), getVariation() etc. return all null.

I’m looking for the same. Have you found a solution?

productRepository, then search for parentId = products’s id.

thanks, exactly what I have done meantime