PaymentIntentTransferData constructor

const PaymentIntentTransferData({
  1. int? amount,
  2. required AccountOrId destination,
})

The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).

Implementation

const PaymentIntentTransferData({
  this.amount,
  required this.destination,
});