isValidNumbers method

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

Implementation

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