mapRules top-level property
Implementation
final Map<TypeIdentification, ValidationRule> mapRules = {
TypeIdentification.dni: ValidationRule.digits(10),
TypeIdentification.ruc: ValidationRule.digits(13),
TypeIdentification.rucPersonNatural: ValidationRule.digits(13),
TypeIdentification.rucPublicSociety: ValidationRule.digits(13),
TypeIdentification.rucSocietyPrivate: ValidationRule.digits(13),
};