copyWith method

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

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

Implementation

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