copyWith method
Создает экземпляр с заданными параметрами
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,
);
}