isTextOnly method

bool isTextOnly()

Check if String contains only text

Implementation

bool isTextOnly() => RegExp(r'^[a-zA-Z]+$').hasMatch(this);