isAscii method

bool isAscii()

returns true if the String only contains ascii characters. (0 - 128)

'abcde'.isAcii();
-> true

Implementation

bool isAscii() => Type.isAscii(this);