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 SetupIntent;
  return 'SetupIntent(id: ${_this.id}, object: ${_this.object}, application: ${_this.application}, attachToSelf: ${_this.attachToSelf}, cancellationReason: ${_this.cancellationReason}, clientSecret: ${_this.clientSecret}, created: ${_this.created}, customer: ${_this.customer}, description: ${_this.description}, flowDirections: ${_this.flowDirections}, lastSetupError: ${_this.lastSetupError}, latestAttempt: ${_this.latestAttempt}, livemode: ${_this.livemode}, mandate: ${_this.mandate}, metadata: ${_this.metadata}, nextAction: ${_this.nextAction}, onBehalfOf: ${_this.onBehalfOf}, paymentMethod: ${_this.paymentMethod}, paymentMethodOptions: ${_this.paymentMethodOptions}, paymentMethodTypes: ${_this.paymentMethodTypes}, singleUseMandate: ${_this.singleUseMandate}, status: ${_this.status}, usage: ${_this.usage})';
}