Please solve the programming task below using a self-contained code snippet in a markdown code block.

Given a 0-indexed integer array nums, return the number of subarrays of nums having an even product.
 
Please complete the following python code precisely:
```python
class Solution:
    def evenProduct(self, nums: List[int]) -> int:
```