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 'QuickbooksCustomer(id: $id, syncToken: $syncToken, displayName: $displayName, title: $title, givenName: $givenName, middleName: $middleName, '
      'suffix: $suffix, familyName: $familyName, primaryEmailAddr: $primaryEmailAddr, resaleNum: $resaleNum, secondaryTaxIdentifier: $secondaryTaxIdentifier, '
      'ARAccountRef: $ARAccountRef, defaultTaxCodeRef: $defaultTaxCodeRef, preferredDeliveryMethod: $preferredDeliveryMethod, GSTIN: $GSTIN, '
      'salesTermRef: $salesTermRef, customerTypeRef: $customerTypeRef, fax: $fax, businessNumber: $businessNumber, billWithParent: $billWithParent, '
      'currencyRef: $currencyRef, mobile: $mobile, job: $job, balanceWithJobs: $balanceWithJobs, primaryPhone: $primaryPhone, openBalanceDate: $openBalanceDate, '
      'taxable: $taxable, alternatePhone: $alternatePhone, metaDate: $metaData, parentRef: $parentRef, notes: $notes, webAddr: $webAddr, active: $active, '
      'companyName: $companyName, balance: $balance, shipAddr: $shipAddr, paymentMethodRef: $paymentMethodRef, isProject: $isProject, source: $source, '
      'primaryTaxIdentifier: $primaryTaxIdentifier, GSTRegistrationType: $GSTRegistrationType, printOnCheckName: $printOnCheckName, billAddr: $billAddr, '
      'fullyQualifiedName: $fullyQualifiedName, level: $level, taxExemptionReasonId: $taxExemptionReasonId)';
}