isLatin method
Checks if the string contains only Latin alphabet characters (a-z, A-Z).
Implementation
bool isLatin() =>
// Use a regular expression to match only alphabetic characters from start to end.
_latinRegex.hasMatch(this);
Checks if the string contains only Latin alphabet characters (a-z, A-Z).
bool isLatin() =>
// Use a regular expression to match only alphabetic characters from start to end.
_latinRegex.hasMatch(this);