FbrInvoiceError class

One problem found by validateFbrInvoice.

Constructors

FbrInvoiceError(String? code, String field, String message)
Creates an invoice error.
const

Properties

code → String?
FBR's error code (spec §7 and the Error Message Guide), or null for a required field the specification gives no code for.
final
field → String
Where: invoiceDate, items[0].rate …
final
hashCode → int
The hash code for this object.
no setteroverride
message → String
What is wrong, in English.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
JSON form, with the same keys as the npm package.
toString() → String
A string representation of this object.
override

Operators

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