toString method
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 'QuickbooksPurchase(id: $id, line: $line, paymentType: $paymentType, accountRef: $accountRef, syncToken: $syncToken, currencyRef: $currencyRef, '
'txnDate: $txnDate, printStatus: $printStatus, remitToAddr: $remitToAddr, txnSource: $txnSource, linkedTxn: $linkedTxn, '
'globalTaxCalculation: $globalTaxCalculation, transactionLocationType: $transactionLocationType, metaData: $metaData, docNumber: $docNumber, '
'privateNote: $privateNote, credit: $credit, txnTaxDetail: $txnTaxDetail, paymentMethodRef: $paymentMethodRef, exchangeRate: $exchangeRate, '
'departmentRef: $departmentRef, entityRef: $entityRef, includeInAnnualTPAR: $includeInAnnualTPAR, totalAmt: $totalAmt, recurDataRef: $recurDataRef, '
')';
}