copyWith method

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

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

Implementation

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