Skip to content

Commit e0c3ef3

Browse files
Convert positional params to optional
1 parent 1fa302a commit e0c3ef3

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

lib/messages.g.dart

Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/messages/requests/update_payment_intent.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class UpdatePaymentIntentRequest {
7878
/// The ID of the payment method configuration to use with this PaymentIntent.
7979
final String? paymentMethodConfiguration;
8080

81-
const UpdatePaymentIntentRequest(
81+
const UpdatePaymentIntentRequest({
8282
this.amount,
8383
this.currency,
8484
this.customer,
@@ -90,7 +90,7 @@ class UpdatePaymentIntentRequest {
9090
this.statementDescriptor,
9191
this.statementDescriptorSuffix,
9292
this.paymentMethodConfiguration,
93-
);
93+
});
9494

9595
factory UpdatePaymentIntentRequest.fromJson(Map<String, dynamic> json) =>
9696
_$UpdatePaymentIntentRequestFromJson(json);

0 commit comments

Comments
 (0)