copyWith method
Implementation
PaymentOptions copyWith({
bool? acceptsCreditCards,
bool? acceptsDebitCards,
bool? acceptsCashOnly,
bool? acceptsNfc,
}) {
return PaymentOptions(
acceptsCreditCards: acceptsCreditCards ?? this.acceptsCreditCards,
acceptsDebitCards: acceptsDebitCards ?? this.acceptsDebitCards,
acceptsCashOnly: acceptsCashOnly ?? this.acceptsCashOnly,
acceptsNfc: acceptsNfc ?? this.acceptsNfc,
);
}