validateCPF method

String? validateCPF(
  1. String value,
  2. String fieldName
)

Implementation

String? validateCPF(String value, String fieldName) {
  var fieldCheck = validateStringField(value, fieldName);

  if (fieldCheck != null) {
    return fieldCheck;
  }

  // if (!CPF.isValid(value)) {
  //   return makeValidateInvalidFieldMessage(fieldName);
  // } else {
  //   return null;
  // }
}