containsAnyGreekCharacter property
bool
containsAnyGreekCharacter
Checks whether the supplied string contains any Greek character.
Implementation
bool get containsAnyGreekCharacter {
if (this.isBlank) {
return false;
}
String onlyGreekLetters = this.onlyGreek!.replaceAll(" ", "");
return onlyGreekLetters.isNotEmpty;
}