isLetterOrDigit function Null safety

bool isLetterOrDigit(
  1. String ch
)

Implementation

bool isLetterOrDigit(String ch) {
  return isLetter(ch) || isDigit(ch);
}