isAlphabetic property
bool
get
isAlphabetic
Checks if the string contains only alphabetic characters.
Implementation
bool get isAlphabetic => RegExp(r'^[a-zA-Z]+$').hasMatch(this);
Checks if the string contains only alphabetic characters.
bool get isAlphabetic => RegExp(r'^[a-zA-Z]+$').hasMatch(this);