diff --git a/packages/stripe_platform_interface/lib/src/models/aubecs_form.freezed.dart b/packages/stripe_platform_interface/lib/src/models/aubecs_form.freezed.dart index 4c7eaa0ab..d7d4c47cf 100644 --- a/packages/stripe_platform_interface/lib/src/models/aubecs_form.freezed.dart +++ b/packages/stripe_platform_interface/lib/src/models/aubecs_form.freezed.dart @@ -56,17 +56,17 @@ abstract class $AubecsFormStyleCopyWith<$Res> { @useResult $Res call( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textColor, + Color? textColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textErrorColor, + Color? textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? placeholderColor, + Color? placeholderColor, int? fontSize, int? borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? backgroundColor, + Color? backgroundColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? borderColor, + Color? borderColor, int? borderRadius}); } @@ -139,17 +139,17 @@ abstract class _$$_AubecsFormStyleCopyWith<$Res> @useResult $Res call( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textColor, + Color? textColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textErrorColor, + Color? textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? placeholderColor, + Color? placeholderColor, int? fontSize, int? borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? backgroundColor, + Color? backgroundColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? borderColor, + Color? borderColor, int? borderRadius}); } @@ -216,17 +216,17 @@ class __$$_AubecsFormStyleCopyWithImpl<$Res> class _$_AubecsFormStyle implements _AubecsFormStyle { const _$_AubecsFormStyle( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.textColor, + this.textColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.textErrorColor, + this.textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.placeholderColor, + this.placeholderColor, this.fontSize, this.borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.backgroundColor, + this.backgroundColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.borderColor, + this.borderColor, this.borderRadius}); factory _$_AubecsFormStyle.fromJson(Map json) => @@ -320,17 +320,17 @@ class _$_AubecsFormStyle implements _AubecsFormStyle { abstract class _AubecsFormStyle implements AubecsFormStyle { const factory _AubecsFormStyle( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? textColor, + final Color? textColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? textErrorColor, + final Color? textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? placeholderColor, + final Color? placeholderColor, final int? fontSize, final int? borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? backgroundColor, + final Color? backgroundColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? borderColor, + final Color? borderColor, final int? borderRadius}) = _$_AubecsFormStyle; factory _AubecsFormStyle.fromJson(Map json) = diff --git a/packages/stripe_platform_interface/lib/src/models/card_field_input.freezed.dart b/packages/stripe_platform_interface/lib/src/models/card_field_input.freezed.dart index 77592ea3f..494594877 100644 --- a/packages/stripe_platform_interface/lib/src/models/card_field_input.freezed.dart +++ b/packages/stripe_platform_interface/lib/src/models/card_field_input.freezed.dart @@ -60,20 +60,20 @@ abstract class $CardStyleCopyWith<$Res> { $Res call( {int? borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? backgroundColor, + Color? backgroundColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? borderColor, + Color? borderColor, int? borderRadius, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? cursorColor, + Color? cursorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textColor, + Color? textColor, int? fontSize, String? fontFamily, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textErrorColor, + Color? textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? placeholderColor}); + Color? placeholderColor}); } /// @nodoc @@ -156,20 +156,20 @@ abstract class _$$_CardStyleConstructorCopyWith<$Res> $Res call( {int? borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? backgroundColor, + Color? backgroundColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? borderColor, + Color? borderColor, int? borderRadius, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? cursorColor, + Color? cursorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textColor, + Color? textColor, int? fontSize, String? fontFamily, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textErrorColor, + Color? textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? placeholderColor}); + Color? placeholderColor}); } /// @nodoc @@ -246,20 +246,20 @@ class _$_CardStyleConstructor extends _CardStyleConstructor { _$_CardStyleConstructor( {this.borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.backgroundColor, + this.backgroundColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.borderColor, + this.borderColor, this.borderRadius, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.cursorColor, + this.cursorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.textColor, + this.textColor, this.fontSize, this.fontFamily, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.textErrorColor, + this.textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.placeholderColor}) + this.placeholderColor}) : super._(); factory _$_CardStyleConstructor.fromJson(Map json) => @@ -367,20 +367,20 @@ abstract class _CardStyleConstructor extends CardStyle { factory _CardStyleConstructor( {final int? borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? backgroundColor, + final Color? backgroundColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? borderColor, + final Color? borderColor, final int? borderRadius, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? cursorColor, + final Color? cursorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? textColor, + final Color? textColor, final int? fontSize, final String? fontFamily, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? textErrorColor, + final Color? textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? placeholderColor}) = _$_CardStyleConstructor; + final Color? placeholderColor}) = _$_CardStyleConstructor; _CardStyleConstructor._() : super._(); factory _CardStyleConstructor.fromJson(Map json) = @@ -472,20 +472,20 @@ abstract class $CardFormStyleCopyWith<$Res> { @useResult $Res call( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? backgroundColor, + Color? backgroundColor, int? borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? borderColor, + Color? borderColor, int? borderRadius, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? cursorColor, + Color? cursorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textColor, + Color? textColor, int? fontSize, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textErrorColor, + Color? textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? placeholderColor}); + Color? placeholderColor}); } /// @nodoc @@ -563,20 +563,20 @@ abstract class _$$_CardFormStyleConstructorCopyWith<$Res> @useResult $Res call( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? backgroundColor, + Color? backgroundColor, int? borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? borderColor, + Color? borderColor, int? borderRadius, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? cursorColor, + Color? cursorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textColor, + Color? textColor, int? fontSize, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? textErrorColor, + Color? textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? placeholderColor}); + Color? placeholderColor}); } /// @nodoc @@ -647,20 +647,20 @@ class __$$_CardFormStyleConstructorCopyWithImpl<$Res> class _$_CardFormStyleConstructor extends _CardFormStyleConstructor { _$_CardFormStyleConstructor( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.backgroundColor, + this.backgroundColor, this.borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.borderColor, + this.borderColor, this.borderRadius, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.cursorColor, + this.cursorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.textColor, + this.textColor, this.fontSize, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.textErrorColor, + this.textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.placeholderColor}) + this.placeholderColor}) : super._(); factory _$_CardFormStyleConstructor.fromJson(Map json) => @@ -761,20 +761,20 @@ class _$_CardFormStyleConstructor extends _CardFormStyleConstructor { abstract class _CardFormStyleConstructor extends CardFormStyle { factory _CardFormStyleConstructor( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? backgroundColor, + final Color? backgroundColor, final int? borderWidth, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? borderColor, + final Color? borderColor, final int? borderRadius, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? cursorColor, + final Color? cursorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? textColor, + final Color? textColor, final int? fontSize, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? textErrorColor, + final Color? textErrorColor, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? placeholderColor}) = _$_CardFormStyleConstructor; + final Color? placeholderColor}) = _$_CardFormStyleConstructor; _CardFormStyleConstructor._() : super._(); factory _CardFormStyleConstructor.fromJson(Map json) = diff --git a/packages/stripe_platform_interface/lib/src/models/errors.freezed.dart b/packages/stripe_platform_interface/lib/src/models/errors.freezed.dart index c6c5fc9a9..615488b71 100644 --- a/packages/stripe_platform_interface/lib/src/models/errors.freezed.dart +++ b/packages/stripe_platform_interface/lib/src/models/errors.freezed.dart @@ -117,7 +117,7 @@ class _$_StripeErrorGeneric implements _StripeErrorGeneric { const _$_StripeErrorGeneric( {required this.message, @JsonKey(fromJson: _dataFromJson, toJson: _dataToJson) - required this.code}); + required this.code}); factory _$_StripeErrorGeneric.fromJson(Map json) => _$$_StripeErrorGenericFromJson(json); @@ -166,7 +166,7 @@ abstract class _StripeErrorGeneric implements StripeError { const factory _StripeErrorGeneric( {required final String message, @JsonKey(fromJson: _dataFromJson, toJson: _dataToJson) - required final T code}) = _$_StripeErrorGeneric; + required final T code}) = _$_StripeErrorGeneric; factory _StripeErrorGeneric.fromJson(Map json) = _$_StripeErrorGeneric.fromJson; diff --git a/packages/stripe_platform_interface/lib/src/models/payment_methods.freezed.dart b/packages/stripe_platform_interface/lib/src/models/payment_methods.freezed.dart index c47b978ea..7d1a77c29 100644 --- a/packages/stripe_platform_interface/lib/src/models/payment_methods.freezed.dart +++ b/packages/stripe_platform_interface/lib/src/models/payment_methods.freezed.dart @@ -574,24 +574,16 @@ abstract class _PaymentMethod implements PaymentMethod { required final bool livemode, required final String paymentMethodType, required final BillingDetails billingDetails, - @JsonKey(name: 'Card') - required final Card card, - @JsonKey(name: 'SepaDebit') - required final SepaDebit sepaDebit, - @JsonKey(name: 'BacsDebit') - required final BacsDebit bacsDebit, - @JsonKey(name: 'AuBecsDebit') - required final AuBecsDebit auBecsDebit, - @JsonKey(name: 'Sofort') - required final Sofort sofort, - @JsonKey(name: 'Ideal') - required final Ideal ideal, - @JsonKey(name: 'Fpx') - required final Fpx fpx, - @JsonKey(name: 'Upi') - required final Upi upi, + @JsonKey(name: 'Card') required final Card card, + @JsonKey(name: 'SepaDebit') required final SepaDebit sepaDebit, + @JsonKey(name: 'BacsDebit') required final BacsDebit bacsDebit, + @JsonKey(name: 'AuBecsDebit') required final AuBecsDebit auBecsDebit, + @JsonKey(name: 'Sofort') required final Sofort sofort, + @JsonKey(name: 'Ideal') required final Ideal ideal, + @JsonKey(name: 'Fpx') required final Fpx fpx, + @JsonKey(name: 'Upi') required final Upi upi, @JsonKey(name: 'USBankAccount') - required final UsBankAccount usBankAccount, + required final UsBankAccount usBankAccount, final String? customerId}) = _$_PaymentMethod; factory _PaymentMethod.fromJson(Map json) = diff --git a/packages/stripe_platform_interface/lib/src/models/payment_sheet.freezed.dart b/packages/stripe_platform_interface/lib/src/models/payment_sheet.freezed.dart index 6d2178604..d1cef29a6 100644 --- a/packages/stripe_platform_interface/lib/src/models/payment_sheet.freezed.dart +++ b/packages/stripe_platform_interface/lib/src/models/payment_sheet.freezed.dart @@ -625,13 +625,12 @@ abstract class _SetupParameters implements SetupPaymentSheetParameters { final String? setupIntentClientSecret, final String? merchantDisplayName, final PaymentSheetApplePay? applePay, - @JsonKey(toJson: UserInterfaceStyleKey.toJson) - final ThemeMode? style, + @JsonKey(toJson: UserInterfaceStyleKey.toJson) final ThemeMode? style, final PaymentSheetGooglePay? googlePay, final bool allowsDelayedPaymentMethods, final PaymentSheetAppearance? appearance, @JsonKey(name: 'defaultBillingDetails') - final BillingDetails? billingDetails, + final BillingDetails? billingDetails, final String? returnURL, final BillingDetailsCollectionConfiguration? billingDetailsCollectionConfiguration}) = _$_SetupParameters; @@ -775,7 +774,7 @@ abstract class $PaymentSheetApplePayCopyWith<$Res> { PlatformButtonType? buttonType, PaymentRequestType? request, @JsonKey(includeFromJson: false, includeToJson: false) - OnOrderTracking? setOrderTracking}); + OnOrderTracking? setOrderTracking}); $PaymentRequestTypeCopyWith<$Res>? get request; } @@ -851,7 +850,7 @@ abstract class _$$_PaymentSheetApplePayCopyWith<$Res> PlatformButtonType? buttonType, PaymentRequestType? request, @JsonKey(includeFromJson: false, includeToJson: false) - OnOrderTracking? setOrderTracking}); + OnOrderTracking? setOrderTracking}); @override $PaymentRequestTypeCopyWith<$Res>? get request; @@ -909,7 +908,7 @@ class _$_PaymentSheetApplePay implements _PaymentSheetApplePay { this.buttonType, this.request, @JsonKey(includeFromJson: false, includeToJson: false) - this.setOrderTracking}) + this.setOrderTracking}) : _cartItems = cartItems; factory _$_PaymentSheetApplePay.fromJson(Map json) => @@ -1003,7 +1002,7 @@ abstract class _PaymentSheetApplePay implements PaymentSheetApplePay { final PlatformButtonType? buttonType, final PaymentRequestType? request, @JsonKey(includeFromJson: false, includeToJson: false) - final OnOrderTracking? setOrderTracking}) = _$_PaymentSheetApplePay; + final OnOrderTracking? setOrderTracking}) = _$_PaymentSheetApplePay; factory _PaymentSheetApplePay.fromJson(Map json) = _$_PaymentSheetApplePay.fromJson; @@ -1559,27 +1558,27 @@ abstract class $PaymentSheetAppearanceColorsCopyWith<$Res> { @useResult $Res call( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? primary, + Color? primary, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? background, + Color? background, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? componentBackground, + Color? componentBackground, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? componentBorder, + Color? componentBorder, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? componentDivider, + Color? componentDivider, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? componentText, + Color? componentText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? primaryText, + Color? primaryText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? secondaryText, + Color? secondaryText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? placeholderText, + Color? placeholderText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? icon, + Color? icon, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? error}); + Color? error}); } /// @nodoc @@ -1668,27 +1667,27 @@ abstract class _$$_PaymentSheetAppearanceColorsCopyWith<$Res> @useResult $Res call( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? primary, + Color? primary, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? background, + Color? background, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? componentBackground, + Color? componentBackground, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? componentBorder, + Color? componentBorder, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? componentDivider, + Color? componentDivider, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? componentText, + Color? componentText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? primaryText, + Color? primaryText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? secondaryText, + Color? secondaryText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? placeholderText, + Color? placeholderText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? icon, + Color? icon, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? error}); + Color? error}); } /// @nodoc @@ -1770,27 +1769,26 @@ class __$$_PaymentSheetAppearanceColorsCopyWithImpl<$Res> class _$_PaymentSheetAppearanceColors implements _PaymentSheetAppearanceColors { const _$_PaymentSheetAppearanceColors( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.primary, + this.primary, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.background, + this.background, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.componentBackground, + this.componentBackground, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.componentBorder, + this.componentBorder, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.componentDivider, + this.componentDivider, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.componentText, + this.componentText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.primaryText, + this.primaryText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.secondaryText, + this.secondaryText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.placeholderText, + this.placeholderText, + @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) this.icon, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.icon, - @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.error}); + this.error}); factory _$_PaymentSheetAppearanceColors.fromJson(Map json) => _$$_PaymentSheetAppearanceColorsFromJson(json); @@ -1920,27 +1918,27 @@ abstract class _PaymentSheetAppearanceColors implements PaymentSheetAppearanceColors { const factory _PaymentSheetAppearanceColors( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? primary, + final Color? primary, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? background, + final Color? background, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? componentBackground, + final Color? componentBackground, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? componentBorder, + final Color? componentBorder, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? componentDivider, + final Color? componentDivider, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? componentText, + final Color? componentText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? primaryText, + final Color? primaryText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? secondaryText, + final Color? secondaryText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? placeholderText, + final Color? placeholderText, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? icon, + final Color? icon, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? error}) = _$_PaymentSheetAppearanceColors; + final Color? error}) = _$_PaymentSheetAppearanceColors; factory _PaymentSheetAppearanceColors.fromJson(Map json) = _$_PaymentSheetAppearanceColors.fromJson; @@ -2257,7 +2255,7 @@ abstract class $PaymentSheetShadowParamsCopyWith<$Res> { @useResult $Res call( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? color, + Color? color, double? opacity, PaymentSheetShadowOffset? offset}); @@ -2322,7 +2320,7 @@ abstract class _$$_PaymentSheetShadowParamsCopyWith<$Res> @useResult $Res call( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? color, + Color? color, double? opacity, PaymentSheetShadowOffset? offset}); @@ -2369,7 +2367,7 @@ class __$$_PaymentSheetShadowParamsCopyWithImpl<$Res> class _$_PaymentSheetShadowParams implements _PaymentSheetShadowParams { const _$_PaymentSheetShadowParams( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.color, + this.color, this.opacity, this.offset}); @@ -2426,7 +2424,7 @@ class _$_PaymentSheetShadowParams implements _PaymentSheetShadowParams { abstract class _PaymentSheetShadowParams implements PaymentSheetShadowParams { const factory _PaymentSheetShadowParams( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? color, + final Color? color, final double? opacity, final PaymentSheetShadowOffset? offset}) = _$_PaymentSheetShadowParams; @@ -3320,11 +3318,11 @@ abstract class $PaymentSheetPrimaryButtonThemeColorsCopyWith<$Res> { @useResult $Res call( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? background, + Color? background, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? text, + Color? text, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? border}); + Color? border}); } /// @nodoc @@ -3373,11 +3371,11 @@ abstract class _$$_PaymentSheetPrimaryButtonThemeColorsCopyWith<$Res> @useResult $Res call( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? background, + Color? background, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? text, + Color? text, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - Color? border}); + Color? border}); } /// @nodoc @@ -3420,11 +3418,10 @@ class _$_PaymentSheetPrimaryButtonThemeColors implements _PaymentSheetPrimaryButtonThemeColors { const _$_PaymentSheetPrimaryButtonThemeColors( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.background, - @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.text, + this.background, + @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) this.text, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - this.border}); + this.border}); factory _$_PaymentSheetPrimaryButtonThemeColors.fromJson( Map json) => @@ -3485,11 +3482,11 @@ abstract class _PaymentSheetPrimaryButtonThemeColors implements PaymentSheetPrimaryButtonThemeColors { const factory _PaymentSheetPrimaryButtonThemeColors( {@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? background, + final Color? background, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? text, + final Color? text, @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) - final Color? border}) = _$_PaymentSheetPrimaryButtonThemeColors; + final Color? border}) = _$_PaymentSheetPrimaryButtonThemeColors; factory _PaymentSheetPrimaryButtonThemeColors.fromJson( Map json) =