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 PaymentIntent;
  return 'PaymentIntent(id: ${_this.id}, object: ${_this.object}, amount: ${_this.amount}, amountCapturable: ${_this.amountCapturable}, amountDetails: ${_this.amountDetails}, amountReceived: ${_this.amountReceived}, application: ${_this.application}, applicationFeeAmount: ${_this.applicationFeeAmount}, automaticPaymentMethods: ${_this.automaticPaymentMethods}, canceledAt: ${_this.canceledAt}, cancellationReason: ${_this.cancellationReason}, clientSecret: ${_this.clientSecret}, captureMethod: ${_this.captureMethod}, confirmationMethod: ${_this.confirmationMethod}, created: ${_this.created}, currency: ${_this.currency}, customer: ${_this.customer}, description: ${_this.description}, invoice: ${_this.invoice}, lastPaymentError: ${_this.lastPaymentError}, latestCharge: ${_this.latestCharge}, livemode: ${_this.livemode}, metadata: ${_this.metadata}, nextAction: ${_this.nextAction}, onBehalfOf: ${_this.onBehalfOf}, paymentMethod: ${_this.paymentMethod}, paymentMethodOptions: ${_this.paymentMethodOptions}, paymentMethodTypes: ${_this.paymentMethodTypes}, processing: ${_this.processing}, receiptEmail: ${_this.receiptEmail}, review: ${_this.review}, setupFutureUsage: ${_this.setupFutureUsage}, shipping: ${_this.shipping}, statementDescriptor: ${_this.statementDescriptor}, statementDescriptorSuffix: ${_this.statementDescriptorSuffix}, status: ${_this.status}, transferData: ${_this.transferData}, transferGroup: ${_this.transferGroup})';
}