copyWith method

  1. @override
CreatePaymentRequest copyWith({
  1. String? signToken,
  2. Map<String, dynamic>? customParameters,
  3. InvoiceOrder? order,
  4. PaymentSettings? settings,
  5. List<Reciept>? receipt,
  6. String? mail,
  7. String? phone,
  8. String? trtype,
})
override

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

Implementation

@override
CreatePaymentRequest copyWith({
  String? signToken,
  Map<String, dynamic>? customParameters,
  InvoiceOrder? order,
  PaymentSettings? settings,
  List<Reciept>? receipt,
  String? mail,
  String? phone,
  String? trtype,
}) {
  return CreatePaymentRequest(
    signToken: signToken ?? this.signToken,
    customParameters: customParameters ?? this.customParameters,
    settings: settings ?? this.settings,
    order: order ?? this.order,
    mail: mail ?? this.mail,
    phone: phone ?? this.phone,
    trtype: trtype ?? this.trtype,
  );
}