toString method

  1. @override
String toString()
override

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.

Implementation

@override
String toString() {
  return 'QuickbooksInvoice(id: $id, line: $line, customerRef: $customerRef, syncToken: $syncToken, currencyRef: $currencyRef, docNumber: $docNumber, '
      'billEmail: $billEmail, txnDate: $txnDate, shipFromAddr: $shipFromAddr, shipDate: $shipDate, trackingNum: $trackingNum, classRef: $classRef, '
      'printStatus: $printStatus, salesTermRef: $salesTermRef, txnSource: $txnSource, linkedTxn: $linkedTxn, depositeToAccountRef: $depositToAccountRef, '
      'globalTaxalculation: $globalTaxCalculation, allowOnlineACHPayment: $allowOnlineACHPayment, transactionLocationType: $transactionLocationType, '
      'dueDate: $dueDate, metaData: $metaData, privateNote: $privateNote, '
      'billEmailCc: $billEmailCc, customerMemo: $customerMemo, emailStatus: $emailStatus, exchangeRate: $exchangeRate, deposit: $deposit, '
      'txnTaxDetail: $txnTaxDetail, allowOnlineCreditCardPayment: $allowOnlineCreditCardPayment, customField: $customField, shipAddr: $shipAddr, '
      'departmentRef: $departmentRef, billEmailBcc: $billEmailBcc, shipMethodRef: $shipMethodRef, billAddr: $billAddr, '
      'applyTaxAfterDiscount: $applyTaxAfterDiscount, homeBalance: $homeBalance, deliveryInfo: $deliveryInfo, totalAmt: $totalAmt, invoiceLink: $invoiceLink, '
      'recurDataRef: $recurDataRef, taxExemptionRef: $taxExemptionRef, balance: $balance, homeTotalAmt: $homeTotalAmt, freeFormAddress: $freeFormAddress, '
      ')';
}