IsbnInvalidPrefix class final
Thirteen digits, but prefix is not a range ISO 2108 gives to books: this is some other GS1 article number wearing the same shape.
- Inheritance
-
- Object
- IsbnFailure
- IsbnInvalidPrefix
Constructors
- IsbnInvalidPrefix(String prefix)
-
Creates the failure.
const
Properties
- 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 - prefix → String
-
The leading digits that identify the range: three for a GS1 prefix, or
9790, the one range that needs a fourth digit to tell apart.final - 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