asciiDecode method

String asciiDecode({
  1. bool allowInvalid = false,
})

Decodes this list of ASCII bytes to the corresponding string.

If allowInvalid is true, the converter will default to allowing invalid values, which will be decoded into the Unicode Replacement character U+FFFD (�). If not, an exception will be thrown.

Implementation

String asciiDecode({bool allowInvalid = false}) =>
    ascii.decode(this, allowInvalid: allowInvalid);