Skip to content

Commit

Permalink
Merge pull request #329 from Adyen/ApplyCodeFormatter
Browse files Browse the repository at this point in the history
Applied code formatting
  • Loading branch information
Robert-SD authored Dec 27, 2024
2 parents ed2b87d + a60894e commit f574e7b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion example/lib/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Config {
static const Environment environment = Environment.test;
static const String baseUrl = "checkout-test.adyen.com";
static const String apiVersion = "v71";
static const String iOSReturnUrl = "adyencheckout://com.adyen.adyen_checkout_example";
static const String iOSReturnUrl =
"adyencheckout://com.adyen.adyen_checkout_example";
static const GooglePayEnvironment googlePayEnvironment =
GooglePayEnvironment.test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class InstantAdvancedComponentScreen extends StatelessWidget {
final klarnaPaymentMethodResponse =
_extractPaymentMethod(snapshot.data!, "klarna");
final idealPaymentMethodResponse =
_extractPaymentMethod(snapshot.data!, "ideal");
_extractPaymentMethod(snapshot.data!, "ideal");

return Column(
mainAxisAlignment: MainAxisAlignment.center,
Expand Down Expand Up @@ -125,7 +125,7 @@ class InstantAdvancedComponentScreen extends StatelessWidget {
Map<String, dynamic> paymentMethods, String key) {
return paymentMethods["paymentMethods"].firstWhere(
(paymentMethod) => paymentMethod["type"] == key,
orElse: () => <String,dynamic>{},
orElse: () => <String, dynamic>{},
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class InstantSessionComponentScreen extends StatelessWidget {
Map<String, dynamic> paymentMethods, String key) {
return paymentMethods["paymentMethods"].firstWhere(
(paymentMethod) => paymentMethod["type"] == key,
orElse: () => <String,dynamic>{},
orElse: () => <String, dynamic>{},
);
}
}

0 comments on commit f574e7b

Please sign in to comment.