copyWith method

  1. @override
ReverseRequest copyWith({
  1. String? orderId,
  2. int? amount,
  3. Map<String, dynamic>? jsonParams,
  4. String? language,
})

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

Implementation

@override
ReverseRequest copyWith({
  String? orderId,
  int? amount,
  Map<String, dynamic>? jsonParams,
  String? language,
}) {
  return ReverseRequest(
    orderId: orderId ?? this.orderId,
    amount: amount ?? this.amount,
    jsonParams: jsonParams ?? this.jsonParams,
    language: language ?? this.language,
  );
}