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() {
  final _this = this as CardToken;
  return 'CardToken(id: ${_this.id}, object: ${_this.object}, addressCity: ${_this.addressCity}, addressCountry: ${_this.addressCountry}, addressLine1: ${_this.addressLine1}, addressLine1Check: ${_this.addressLine1Check}, addressLine2: ${_this.addressLine2}, addressState: ${_this.addressState}, addressZip: ${_this.addressZip}, addressZipCheck: ${_this.addressZipCheck}, brand: ${_this.brand}, country: ${_this.country}, currency: ${_this.currency}, cvcCheck: ${_this.cvcCheck}, dynamicLast4: ${_this.dynamicLast4}, expMonth: ${_this.expMonth}, expYear: ${_this.expYear}, fingerprint: ${_this.fingerprint}, funding: ${_this.funding}, last4: ${_this.last4}, metadata: ${_this.metadata}, name: ${_this.name}, tokenizationMethod: ${_this.tokenizationMethod})';
}