Specification class

Create a new Specification for a valid IBAN number.

Constructors

Specification(String countryCode, int length, String structure, String example, String regexDef)
Constructor
const

Properties

countryCode String
The code of the country.
final
example String
An example of a valid IBAN
final
hashCode int
The hash code for this object.
no setterinherited
length int
The correct length of an IBAN of this country.
final
regexDef String
A regular expression which matches valid IBANs. The checksum however will of course not be checked.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
structure String
The structure of the underlying BBAN (for validation and formatting)
final

Methods

isValid(String iban) bool
Check if the passed iban is valid according to this specification.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited