isLetter property Null safety

bool isLetter

true if this is non-null, non-empty and consists of only letters: a-zA-Z

Implementation

bool get isLetter => this != null && _letterPattern.hasMatch(this!);