codeUnits property

List<int> get codeUnits

The code units of the characters in the file.

If this was constructed with the deprecated SourceFile() constructor, this will instead contain the code points of the characters in the file (so characters above 2^16 are represented as individual integers rather than surrogate pairs).

Implementation

List<int> get codeUnits => _decodedChars;