isAlphabetOnly method
Returns true
if string contains only alphabet symbols
Implementation
bool isAlphabetOnly() =>
!isEmptyOrNull ? RegExp(r'^[a-zA-Z]+$').hasMatch(this!) : false;
Returns true
if string contains only alphabet symbols
bool isAlphabetOnly() =>
!isEmptyOrNull ? RegExp(r'^[a-zA-Z]+$').hasMatch(this!) : false;