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