length property

int get length

Returns the number of UTF-16 code units in the string.

Implementation

int get length => value.length;