RaastQrError enum
A problem that stops a Raast QR from working or makes it unsafe to pay.
Values
- notARaastQr → const RaastQrError
-
Not a Pakistani payment QR.
const RaastQrError('not-a-raast-qr') - badChecksum → const RaastQrError
-
The CRC does not match: the QR is damaged or was edited.
const RaastQrError('bad-checksum') - noIban → const RaastQrError
-
No IBAN in the QR.
const RaastQrError('no-iban') - invalidIban → const RaastQrError
-
The IBAN fails its checksum.
const RaastQrError('invalid-iban') - expired → const RaastQrError
-
The QR has expired.
const RaastQrError('expired') - missingExpiry → const RaastQrError
-
A fixed-amount QR without the expiry banking apps require.
const RaastQrError('missing-expiry')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The value used by the npm package, e.g.
"bad-checksum".final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Returns value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
RaastQrError> - A constant List of the values in this enum, in order of their declaration.