copyWith method

  1. @override
GetOrderStatusExtendedRequest copyWith({
  1. String? orderId,
  2. String? orderNumber,
  3. String? language,
})

Создает экземпляр с заданными параметрами

Implementation

@override
GetOrderStatusExtendedRequest copyWith({
  String? orderId,
  String? orderNumber,
  String? language,
}) {
  return GetOrderStatusExtendedRequest(
    orderId: orderId ?? this.orderId,
    orderNumber: orderNumber ?? this.orderNumber,
    language: language ?? this.language,
  );
}