Spec-Zone.ru › Dart 2

dart:core

String.fromCharCode constructor

String.fromCharCode(
  1. int charCode
)

Allocates a new string containing the specified charCode.

If the 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 fromCharCodes.

Creating a String with one half of a surrogate pair is allowed.

Implementation

external factory String.fromCharCode(int charCode);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-core/String/String.fromCharCode.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API