copyWith method
Создает экземпляр с заданными параметрами
Implementation
@override
DeclineRequest copyWith({
String? merchantLogin,
String? language,
String? orderId,
String? orderNumber,
}) {
return DeclineRequest(
merchantLogin: merchantLogin ?? this.merchantLogin,
language: language ?? this.language,
orderId: orderId ?? this.orderId,
orderNumber: orderNumber ?? this.orderNumber,
);
}