containsDigit method
Check contain digit
Implementation
bool containsDigit() {
if (!this.isNotNullEmpty()) {
return false;
}
return RegExp(ConstVariable.kContainDigitPtrn).hasMatch(this!);
}
Check contain digit
bool containsDigit() {
if (!this.isNotNullEmpty()) {
return false;
}
return RegExp(ConstVariable.kContainDigitPtrn).hasMatch(this!);
}