isLettersOnly property

bool isLettersOnly

Whether the string contains only letters

Implementation

bool get isLettersOnly {
  if (this.isNullOrBlank) return false;
  return isLetters.hasMatch(this!);
}