isIban property

bool get isIban

Implementation

bool get isIban => RegExp(
        r'^([A-Z]{2}[ ' +
            '\\\\' +
            '-]?[0-9]{2})(?=(?:[ ' +
            '\\\\' +
            '-]?[A-Z0-9]){9,30}\$)((?:[ ' +
            '\\\\' +
            '-]?[A-Z0-9]{3,5}){2,7})([ ' +
            '\\\\' +
            '-]?[A-Z0-9]{1,3})?\$',
        caseSensitive: false)
    .hasMatch(value);