checkNonAscii function

bool checkNonAscii(
  1. String test
)

Implementation

bool checkNonAscii(String test) {
  return RegExp(sshnpDeviceNameRegex).allMatches(test).first.group(0) != test;
}