flutter_iban_tools library
A flutter_iban_tools for Dart.
Classes
- ComposeIBANParams
- Interface for ComposeIBAN parameteres
- CountrySpec
- Interface for IBAN Country Specification
- CountrySpecInternal
- Interface for IBAN Country Specification
- ExtractBICResult
- Interface for ExtractBIC result
- ExtractIBANResult
- Interface for ExtractIBAN result
- ValidateBICResult
- Interface for ValidateBIC result
- ValidateIBANOptions
- Interface for validation options
- ValidateIBANResult
Enums
- ValidationErrorsBIC
- BIC validation errors
- ValidationErrorsIBAN
- Interface for ValidateIBAN result
Functions
-
checkBelgianBBAN(
String bban) → bool - Used for Belgian BBAN check
-
checkCroatianBBAN(
String bban) → bool - Croatian (HR) BBAN check
-
checkCzechAndSlovakBBAN(
String bban) → bool - Czech (CZ) and Slowak (SK) BBAN check
-
checkEstonianBBAN(
String bban) → bool - Estonian (EE) BBAN check
-
checkFrenchBBAN(
String bban) → bool - Check French (FR) BBAN Also for Monaco (MC)
-
checkHungarianBBAN(
String bban) → bool - Hungarian (HU) BBAN check
-
checkMod1110(
String toCheck, num control) → bool - Mod 11/10 check
-
checkMod9710BBAN(
String bban) → bool - Check BBAN based on Mod97/10 calculation for countries that support it: BA, ME, MK, PT, RS, SI
-
checkNorwayBBAN(
String bban) → bool - Used for Norway BBAN check
-
checkPolandBBAN(
String bban) → bool - Used for Poland BBAN check
-
checkSpainBBAN(
String bban) → bool - Spain (ES) BBAN check
-
composeIBAN(
ComposeIBANParams params) → String? - composeIBAN
-
electronicFormatIBAN(
String? iban) → String? - Get IBAN in electronic format (no spaces) IBAN validation is not performed. When non-string value for IBAN is provided, returns null.
-
extractBIC(
String inputBic) → ExtractBICResult - extractBIC
-
extractIBAN(
String iban) → ExtractIBANResult - extractIBAN
-
friendlyFormatIBAN(
String? iban, String? separator) → String? - Get IBAN in friendly format (separated after every 4 characters) IBAN validation is not performed. When non-string value for IBAN is provided, returns null.
-
getCountrySpecifications(
) → Map< String, CountrySpec> -
Returns specifications for all countries, even those who are not
members of IBAN registry.
IBANRegistry
field indicates if country is member of not. -
isQRIBAN(
String? iban) → bool - Check if IBAN is QR-IBAN
-
isSEPACountry(
String countryCode) → bool - Validate if country code is from a SEPA country
-
isValidBBAN(
String? bban, String countryCode) → bool - Validate BBAN
-
isValidBIC(
String? bic) → bool - Validate BIC/SWIFT
-
isValidIBAN(
String iban, {ValidateIBANOptions options = const ValidateIBANOptions()}) → bool - Validate IBAN
-
isValidIBANChecksum(
String iban) → bool - Calculate checksum of IBAN and compares it with checksum provided in IBAN Registry
-
mod9710(
String validationString) → int - Mod 97/10 calculation
-
mod9710Iban(
String iban) → int - MOD-97-10
-
replaceCharacterWithCode(
String str) → String - Iban contain characters and should be converted to integer by 55 subtracted from there ascii value
-
setCountryBBANValidation(
String country, bool func(String)) → bool - Set custom BBAN validation function for country.
-
validateBIC(
String? bic) → ValidateBICResult - validateBIC
-
validateIBAN(
String? iban, {ValidateIBANOptions validationOptions = const ValidateIBANOptions()}) → ValidateIBANResult - validateIBAN