isPlainAscii function Null safety

bool isPlainAscii(
  1. String string
)

Returns whether string is composed entirely of ASCII-compatible characters.

Implementation

bool isPlainAscii(String string) => _asciiOnly.hasMatch(string);