IbanInvalidLength class final

The country is known and fixes the length at expected, but the input is actual long.

Inheritance

Constructors

IbanInvalidLength({required int expected, required int actual})
Creates the failure.
const

Properties

actual int
The length actually supplied.
final
expected int
The length the registry fixes for this country.
final
hashCode int
The hash code for this object.
no setteroverride
message String
What went wrong, e.g. 'failed the mod-97 check', for logs.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeName String
The value type that refused the input, e.g. 'Iban'. An explicit string, not a <T>, because extension types erase to their representation at runtime.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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