isValidNumbers method

  1. @override
bool isValidNumbers(
  1. String value
)
override

Implementation

@override
bool isValidNumbers(String value) {

  final englishNumbers = RegExp(r'^[0-9]*$');
  return englishNumbers.hasMatch(value.trim());
}