hasDigit method

bool hasDigit()

Implementation

bool hasDigit() => RegExp(r'\d').hasMatch(this);