isAscii function
Implementation
bool isAscii(dynamic value) {
return !u8aToU8a(value).any(
(byte) => (byte >= 127) || (byte < 32 && ![9, 10, 13].contains(byte)),
);
}
bool isAscii(dynamic value) {
return !u8aToU8a(value).any(
(byte) => (byte >= 127) || (byte < 32 && ![9, 10, 13].contains(byte)),
);
}