copyWith method
PaymentContext
copyWith({
- AmountOfMoney? amountOfMoney,
- String? countryCode,
- bool? isRecurring,
- bool? forceBasicFlow,
- Locale? locale,
Implementation
PaymentContext copyWith(
{AmountOfMoney? amountOfMoney,
String? countryCode,
bool? isRecurring,
bool? forceBasicFlow,
Locale? locale}) {
return PaymentContext(amountOfMoney ?? this.amountOfMoney,
countryCode ?? this.countryCode, isRecurring ?? this.isRecurring,
forceBasicFlow: forceBasicFlow ?? this.forceBasicFlow,
locale: locale ?? this.locale);
}