Returns the decimal digits of the absolute value of this number, most significant first.
The sign is discarded, so (-305).digits() returns [3, 0, 5]. Zero returns [0]. Int.MIN_VALUE is handled without overflow.
(-305).digits()
[3, 0, 5]
[0]