copyWith method
Создает экземпляр с заданными параметрами
Implementation
@override
SendClosingReceiptRequest copyWith({
String? signToken,
int? paymentId,
Receipt? receipt,
}) {
return SendClosingReceiptRequest(
signToken: signToken ?? this.signToken,
paymentId: paymentId ?? this.paymentId,
receipt: receipt ?? this.receipt,
);
}