isEnglish property

bool isEnglish

Detects whether the string is english alphabet.

Implementation

bool get isEnglish {
  RegExp regExp = RegExp(r'\w+\s*$');
  return regExp.hasMatch(this);
}