isLetter function

bool isLetter(
  1. String char
)

Implementation

bool isLetter(String char) {
  final pattern = RegExp('[a-zA-Z]');
  return pattern.hasMatch(char);
}