String.fromCharCode constructor
- intcharCode
Allocates a new string containing the specifiedcharCode.
If thecharCode can be represented by a single UTF-16 code unit, the newstring contains a single code unit. Otherwise, thelength is 2 andthe code units form a surrogate pair. See documentation forfromCharCodes.
Creating aString with one half of a surrogate pair is allowed.
Implementation
external factory String.fromCharCode(int charCode);