toUtf8 property

String? get toUtf8

List

Implementation

String? get toUtf8 {
  if (T != int) return null;
  final List<int?> words = this as List<int>;
  final int sigBytes = words.length;
  final List<int> chars = sigBytes.generate((int i) {
    if (words[i >> 2] == null) words[i >> 2] = 0;
    final int bite =
        ((words[i >> 2]!).toSigned(32) >> (24 - (i % 4) * 8)) & 0xff;
    return bite;
  });
  return String.fromCharCodes(chars);
}