isExtendedASCII static method

bool isExtendedASCII(
  1. dynamic chr
)

Implementation

static bool isExtendedASCII(dynamic chr) {
  int ch = 0;
  if (chr is String) {
    ch = chr.codeUnitAt(0);
  } else {
    ch = chr as int;
  }
  return ch >= 128 && ch <= 255;
}