@@ -515,81 +515,58 @@ class Settings {
515515 Map <String , dynamic > toJson () => {
516516 "title" : title! .toJson (),
517517 "instructions" : instructions? .toJson (),
518- "enable_for_methods" :
519- enableForMethods? .toJson (),
520- "enable_for_virtual" :
521- enableForVirtual? .toJson (),
518+ "enable_for_methods" : enableForMethods? .toJson (),
519+ "enable_for_virtual" : enableForVirtual? .toJson (),
522520 "email" : email? .toJson (),
523521 "advanced" : advanced? .toJson (),
524522 "testmode" : testmode? .toJson (),
525523 "debug" : debug? .toJson (),
526- "ipn_notification" :
527- ipnNotification? .toJson (),
528- "receiver_email" :
529- receiverEmail? .toJson (),
530- "identity_token" :
531- identityToken? .toJson (),
532- "invoice_prefix" :
533- invoicePrefix? .toJson (),
524+ "ipn_notification" : ipnNotification? .toJson (),
525+ "receiver_email" : receiverEmail? .toJson (),
526+ "identity_token" : identityToken? .toJson (),
527+ "invoice_prefix" : invoicePrefix? .toJson (),
534528 "send_shipping" : sendShipping? .toJson (),
535- "address_override" :
536- addressOverride? .toJson (),
529+ "address_override" : addressOverride? .toJson (),
537530 "paymentaction" : paymentaction? .toJson (),
538531 "page_style" : pageStyle? .toJson (),
539532 "image_url" : imageUrl? .toJson (),
540533 "api_details" : apiDetails? .toJson (),
541534 "api_username" : apiUsername? .toJson (),
542535 "api_password" : apiPassword? .toJson (),
543536 "api_signature" : apiSignature? .toJson (),
544- "sandbox_api_username" :
545- sandboxApiUsername? .toJson (),
546- "sandbox_api_password" :
547- sandboxApiPassword? .toJson (),
548- "sandbox_api_signature" :
549- sandboxApiSignature? .toJson (),
550- "account_settings" :
551- accountSettings? .toJson (),
537+ "sandbox_api_username" : sandboxApiUsername? .toJson (),
538+ "sandbox_api_password" : sandboxApiPassword? .toJson (),
539+ "sandbox_api_signature" : sandboxApiSignature? .toJson (),
540+ "account_settings" : accountSettings? .toJson (),
552541 "environment" : environment? .toJson (),
553- "api_credentials" :
554- apiCredentials? .toJson (),
555- "api_certificate" :
556- apiCertificate? .toJson (),
542+ "api_credentials" : apiCredentials? .toJson (),
543+ "api_certificate" : apiCertificate? .toJson (),
557544 "api_subject" : apiSubject? .toJson (),
558545 "sandbox_api_credentials" : sandboxApiCredentials? .toJson (),
559546 "sandbox_api_certificate" : sandboxApiCertificate? .toJson (),
560547 "sandbox_api_subject" : sandboxApiSubject? .toJson (),
561548 "paypal_hosted_settings" : paypalHostedSettings? .toJson (),
562549 "brand_name" : brandName? .toJson (),
563550 "logo_image_url" : logoImageUrl? .toJson (),
564- "header_image_url" :
565- headerImageUrl? .toJson (),
551+ "header_image_url" : headerImageUrl? .toJson (),
566552 "landing_page" : landingPage? .toJson (),
567- "require_billing" :
568- requireBilling? .toJson (),
569- "require_phone_number" :
570- requirePhoneNumber? .toJson (),
571- "instant_payments" :
572- instantPayments? .toJson (),
553+ "require_billing" : requireBilling? .toJson (),
554+ "require_phone_number" : requirePhoneNumber? .toJson (),
555+ "instant_payments" : instantPayments? .toJson (),
573556 "subtotal_mismatch_behavior" : subtotalMismatchBehavior? .toJson (),
574- "button_settings" :
575- buttonSettings? .toJson (),
557+ "button_settings" : buttonSettings? .toJson (),
576558 "use_spb" : useSpb? .toJson (),
577559 "button_color" : buttonColor? .toJson (),
578560 "button_shape" : buttonShape? .toJson (),
579561 "button_layout" : buttonLayout? .toJson (),
580562 "button_size" : buttonSize? .toJson (),
581- "hide_funding_methods" :
582- hideFundingMethods? .toJson (),
583- "credit_enabled" :
584- creditEnabled? .toJson (),
585- "cart_checkout_enabled" :
586- cartCheckoutEnabled? .toJson (),
587- "mini_cart_settings" :
588- miniCartSettings? .toJson (),
563+ "hide_funding_methods" : hideFundingMethods? .toJson (),
564+ "credit_enabled" : creditEnabled? .toJson (),
565+ "cart_checkout_enabled" : cartCheckoutEnabled? .toJson (),
566+ "mini_cart_settings" : miniCartSettings? .toJson (),
589567 "mini_cart_settings_toggle" : miniCartSettingsToggle? .toJson (),
590568 "mini_cart_button_layout" : miniCartButtonLayout? .toJson (),
591- "mini_cart_button_size" :
592- miniCartButtonSize? .toJson (),
569+ "mini_cart_button_size" : miniCartButtonSize? .toJson (),
593570 "mini_cart_hide_funding_methods" : miniCartHideFundingMethods? .toJson (),
594571 "mini_cart_credit_enabled" : miniCartCreditEnabled? .toJson (),
595572 "single_product_settings" : singleProductSettings? .toJson (),
@@ -603,33 +580,22 @@ class Settings {
603580 "single_product_credit_enabled" : singleProductCreditEnabled? .toJson (),
604581 "mark_settings" : markSettings? .toJson (),
605582 "mark_enabled" : markEnabled? .toJson (),
606- "mark_settings_toggle" :
607- markSettingsToggle? .toJson (),
608- "mark_button_layout" :
609- markButtonLayout? .toJson (),
610- "mark_button_size" :
611- markButtonSize? .toJson (),
583+ "mark_settings_toggle" : markSettingsToggle? .toJson (),
584+ "mark_button_layout" : markButtonLayout? .toJson (),
585+ "mark_button_size" : markButtonSize? .toJson (),
612586 "mark_hide_funding_methods" : markHideFundingMethods? .toJson (),
613- "mark_credit_enabled" :
614- markCreditEnabled? .toJson (),
587+ "mark_credit_enabled" : markCreditEnabled? .toJson (),
615588 "webhook" : webhook? .toJson (),
616- "test_publishable_key" :
617- testPublishableKey? .toJson (),
618- "test_secret_key" :
619- testSecretKey? .toJson (),
620- "test_webhook_secret" :
621- testWebhookSecret? .toJson (),
622- "publishable_key" :
623- publishableKey? .toJson (),
589+ "test_publishable_key" : testPublishableKey? .toJson (),
590+ "test_secret_key" : testSecretKey? .toJson (),
591+ "test_webhook_secret" : testWebhookSecret? .toJson (),
592+ "publishable_key" : publishableKey? .toJson (),
624593 "secret_key" : secretKey? .toJson (),
625- "webhook_secret" :
626- webhookSecret? .toJson (),
594+ "webhook_secret" : webhookSecret? .toJson (),
627595 "inline_cc_form" : inlineCcForm? .toJson (),
628- "statement_descriptor" :
629- statementDescriptor? .toJson (),
596+ "statement_descriptor" : statementDescriptor? .toJson (),
630597 "capture" : capture? .toJson (),
631- "payment_request" :
632- paymentRequest? .toJson (),
598+ "payment_request" : paymentRequest? .toJson (),
633599 "payment_request_button_type" : paymentRequestButtonType? .toJson (),
634600 "payment_request_button_theme" : paymentRequestButtonTheme? .toJson (),
635601 "payment_request_button_height" : paymentRequestButtonHeight? .toJson (),
0 commit comments