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

Given two strings ransomNote and magazine, return true if ransomNote can be constructed by using the letters from magazine and false otherwise.
Each letter in magazine can only be used once in ransomNote.
 
Please complete the following python code precisely:
```python
class Solution:
    def canConstruct(self, ransomNote: str, magazine: str) -> bool:
```