toAsciiString method

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

Decodes this list of ASCII bytes to the corresponding string.

Shorthand for asciiDecode.

Implementation

String toAsciiString({bool allowInvalid = false}) =>
    asciiDecode(allowInvalid: allowInvalid);