iban library

Classes

Specification
Create a new Specification for a valid IBAN number.

Constants

specifications → const Map<String, Specification>
A list of all known IBAN specifications.

Functions

electronicFormat(String iban) String
Removes all whitespaces and invalid characters from iban and returns the iban in uppercase.
getCountries() List<String>
Return a list of countries for which we have a specification.
getExample(String country) String?
Return an example iban for country.
isValid(String _iban, {bool sanitize = true}) bool
Check if an IBAN is valid.
toPrintFormat(String iban, [String separator = ' ']) String
Inserts a separator every 4 characters.