length property

int get length

Returns the number of digits.

Implementation

int get length => toString().length;