isAscii property
bool
get
isAscii
Checks if the string contains only ASCII characters.
Returns true if the string only contains ASCII characters (code points 0-127),
otherwise returns false.
Example:
'abc123'.isAscii; // true
'äbc123'.isAscii; // false
Implementation
bool get isAscii {
return _isAscii(this);
}