isAscii function
Implementation
bool isAscii(dynamic value) {
return value != null
? !u8aToU8a(value)
.any((byte) => (byte >= 127) || (byte < 32 && !FORMAT.contains(byte)))
: isString(value);
}
bool isAscii(dynamic value) {
return value != null
? !u8aToU8a(value)
.any((byte) => (byte >= 127) || (byte < 32 && !FORMAT.contains(byte)))
: isString(value);
}