codeUnits property Null safety

List<int> codeUnits

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

Implementation

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