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

Given an integer array nums, return 0 if the sum of the digits of the minimum integer in nums is odd, or 1 otherwise.
 
Please complete the following python code precisely:
```python
class Solution:
    def sumOfDigits(self, nums: List[int]) -> int:
```