onlyContainsAlpha function
A convenient way for checking if there are only alpha chars (a-zA-Z
).
Also null is accepted (in this case the method returns false...)
Implementation
bool onlyContainsAlpha(String string) =>
filled(string) && string.onlyContainsAlpha();