InvoiceResultBaseModel constructor
const
InvoiceResultBaseModel({
- required String invoiceHash,
- required List<
ErrorModel> errors, - required List<
WarningModel> warnings,
Creates a new instance of InvoiceResultBaseModel.
invoiceHash
: The unique hash identifier for the invoice.errors
: A list of ErrorModel instances detailing any errors.warnings
: A list of WarningModel instances detailing any warnings.
Implementation
const InvoiceResultBaseModel({
required this.invoiceHash,
required this.errors,
// required this.status, // Uncomment and define status when needed.
required this.warnings,
});