copyWith method
CreatePaymentRequest
copyWith({
- String? signToken,
- Map<
String, dynamic> ? customParameters, - InvoiceOrder? order,
- PaymentSettings? settings,
- List<
Reciept> ? receipt, - String? mail,
- String? phone,
- String? trtype,
override
Создает экземпляр с заданными параметрами
Implementation
@override
CreatePaymentRequest copyWith({
String? signToken,
Map<String, dynamic>? customParameters,
InvoiceOrder? order,
PaymentSettings? settings,
List<Reciept>? receipt,
String? mail,
String? phone,
String? trtype,
}) {
return CreatePaymentRequest(
signToken: signToken ?? this.signToken,
customParameters: customParameters ?? this.customParameters,
settings: settings ?? this.settings,
order: order ?? this.order,
mail: mail ?? this.mail,
phone: phone ?? this.phone,
trtype: trtype ?? this.trtype,
);
}