isAlpha method

bool isAlpha(
  1. String str
)

check if the string str contains only letters

Implementation

bool isAlpha(String str) {
  return _alpha.hasMatch(str);
}