copyWith method
SignalEvaluateRequest
copyWith(
{ - String? clientId,
- String? secret,
- String? accessToken,
- String? accountId,
- String? clientTransactionId,
- double? amount,
- bool? userPresent,
- String? clientUserId,
- bool? isRecurring,
- String? defaultPaymentMethod,
- SignalUser? user,
- SignalDevice? device,
})
Implementation
SignalEvaluateRequest copyWith(
{String? clientId,
String? secret,
String? accessToken,
String? accountId,
String? clientTransactionId,
double? amount,
bool? userPresent,
String? clientUserId,
bool? isRecurring,
String? defaultPaymentMethod,
SignalUser? user,
SignalDevice? device}) {
return SignalEvaluateRequest(
clientId: clientId ?? this.clientId,
secret: secret ?? this.secret,
accessToken: accessToken ?? this.accessToken,
accountId: accountId ?? this.accountId,
clientTransactionId: clientTransactionId ?? this.clientTransactionId,
amount: amount ?? this.amount,
userPresent: userPresent ?? this.userPresent,
clientUserId: clientUserId ?? this.clientUserId,
isRecurring: isRecurring ?? this.isRecurring,
defaultPaymentMethod: defaultPaymentMethod ?? this.defaultPaymentMethod,
user: user ?? this.user,
device: device ?? this.device);
}