Index: lib/utf/utf_core.dart |
diff --git a/lib/utf/utf_core.dart b/lib/utf/utf_core.dart |
index 39d868a68ec0505c57d5d3dfd555317f15d5af28..2cf5110847690c280982c804b90877eb2f7e4adb 100644 |
--- a/lib/utf/utf_core.dart |
+++ b/lib/utf/utf_core.dart |
@@ -11,9 +11,9 @@ List<int> stringToCodepoints(String str) { |
// (http://code.google.com/p/dart/issues/detail?id=1357). Consider |
// removing after this issue is resolved. |
if (_is16BitCodeUnit()) { |
- codepoints = _utf16CodeUnitsToCodepoints(str.charCodes()); |
+ codepoints = _utf16CodeUnitsToCodepoints(str.charCodes); |
} else { |
- codepoints = str.charCodes(); |
+ codepoints = str.charCodes; |
} |
return codepoints; |
} |