codeUnits property

List<int>? get codeUnits

Returns an unmodifiable list of the UTF-16 code units of this string.

Implementation

List<int>? get codeUnits => value?.codeUnits;