Returns true if value is 7-bit ASCII.
value
static bool isAscii(String value) => !RegExp(r'[^\x00-\x7F]').hasMatch(value);