String.fromCharCode constructor Null safety
- int charCode
Allocates a new String for the specified
charCode can be represented by a single UTF-16 code unit, the new
string contains a single code unit. Otherwise, the length is 2 and
the code units form a surrogate pair. See documentation for
Creating a String with one half of a surrogate pair is allowed.
external factory String.fromCharCode(int charCode);