anyChar method
Returns true if at least one character matches the given predicate.
The predicate should have only one character.
Implementation
bool anyChar(bool Function(String element) predicate) =>
isNotEmptyOrNull && this!.split('').any((s) => predicate(s));