InvoiceResultBaseModel constructor

const InvoiceResultBaseModel({
  1. required String invoiceHash,
  2. required List<ErrorModel> errors,
  3. 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,
});