isValidNumbers method

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

Implementation

@override
bool isValidNumbers(String value) {
  final arabicNumbers = RegExp(r'^[0-9]*$');
  return arabicNumbers.hasMatch(value.trim());
}