getCountryCode function

String getCountryCode(
  1. String iban
)

Implementation

String getCountryCode(String iban) {
  return iban.substring(
      COUNTRY_CODE_INDEX, COUNTRY_CODE_INDEX + COUNTRY_CODE_LENGTH);
}