hasNumber method
Implementation
bool hasNumber() {
if (this == null) return false;
if (this!.isEmpty) return false;
return this!.contains(RegExp(r'[0-9]'));
}
bool hasNumber() {
if (this == null) return false;
if (this!.isEmpty) return false;
return this!.contains(RegExp(r'[0-9]'));
}