codeUnits property

List<int>? get codeUnits

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

Implementation

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