toString method

  1. @override
String toString()
inherited

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 'DecryptedInvoice(id: $id, rev: $rev, created: $created, modified: $modified, author: $author, responsible: $responsible, medicalLocationId: $medicalLocationId, tags: $tags, codes: $codes, endOfLife: $endOfLife, deletionDate: $deletionDate, invoiceDate: $invoiceDate, sentDate: $sentDate, printedDate: $printedDate, invoicingCodes: $invoicingCodes, receipts: $receipts, recipientType: $recipientType, recipientId: $recipientId, invoiceReference: $invoiceReference, decisionReference: $decisionReference, thirdPartyReference: $thirdPartyReference, thirdPartyPaymentJustification: $thirdPartyPaymentJustification, thirdPartyPaymentReason: $thirdPartyPaymentReason, reason: $reason, invoiceType: $invoiceType, sentMediumType: $sentMediumType, interventionType: $interventionType, groupId: $groupId, paymentType: $paymentType, paid: $paid, payments: $payments, gnotionNihii: $gnotionNihii, gnotionSsin: $gnotionSsin, gnotionLastName: $gnotionLastName, gnotionFirstName: $gnotionFirstName, gnotionCdHcParty: $gnotionCdHcParty, invoicePeriod: $invoicePeriod, careProviderType: $careProviderType, internshipNihii: $internshipNihii, internshipSsin: $internshipSsin, internshipLastName: $internshipLastName, internshipFirstName: $internshipFirstName, internshipCdHcParty: $internshipCdHcParty, internshipCbe: $internshipCbe, supervisorNihii: $supervisorNihii, supervisorSsin: $supervisorSsin, supervisorLastName: $supervisorLastName, supervisorFirstName: $supervisorFirstName, supervisorCdHcParty: $supervisorCdHcParty, supervisorCbe: $supervisorCbe, error: $error, encounterLocationName: $encounterLocationName, encounterLocationNihii: $encounterLocationNihii, encounterLocationNorm: $encounterLocationNorm, longDelayJustification: $longDelayJustification, correctiveInvoiceId: $correctiveInvoiceId, correctedInvoiceId: $correctedInvoiceId, creditNote: $creditNote, creditNoteRelatedInvoiceId: $creditNoteRelatedInvoiceId, idDocument: $idDocument, admissionDate: $admissionDate, locationNihii: $locationNihii, locationService: $locationService, cancelReason: $cancelReason, cancelDate: $cancelDate, options: $options, secretForeignKeys: $secretForeignKeys, cryptedForeignKeys: $cryptedForeignKeys, delegations: $delegations, encryptionKeys: $encryptionKeys, encryptedSelf: $encryptedSelf, securityMetadata: $securityMetadata)';
}