hasOutOfRangeHrpCharacters method Null safety

bool hasOutOfRangeHrpCharacters(
  1. String hrp
)

Implementation

bool hasOutOfRangeHrpCharacters(String hrp) {
  return hrp.codeUnits.any((c) => c < 33 || c > 126);
}