isAlpha property

bool get isAlpha

Whether this string contains only letters.

Implementation

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