validateBban function
Implementation
void validateBban(String countryCode, String bban) {
validateCountryCode(countryCode, true);
final BbanStructure? structure = getBbanStructure(countryCode);
if (structure == null) {
throw Exception("Internal error, expected structure");
}
structure.validate(bban);
}