length property
int
get
length
The number of UTF-8 code units in this zero-terminated UTF-8 string.
The UTF-8 code units of the strings are the non-zero code units up to the first zero code unit.
Implementation
int get length {
_ensureNotNullptr('length');
final codeUnits = cast<Uint8>();
return _length(codeUnits);
}