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

You are given a 0-indexed string word of length n consisting of digits, and a positive integer m.
The divisibility array div of word is an integer array of length n such that:

div[i] = 1 if the numeric value of word[0,...,i] is divisible by m, or
div[i] = 0 otherwise.

Return the divisibility array of word.
 
Please complete the following python code precisely:
```python
class Solution:
    def divisibilityArray(self, word: str, m: int) -> List[int]:
```