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

Given an array of points where points[i] = [xi, yi] represents a point on the X-Y plane, return the maximum number of points that lie on the same straight line.
 
Please complete the following python code precisely:
```python
class Solution:
    def maxPoints(self, points: List[List[int]]) -> int:
```