copyWith method

  1. @override
AddCardRequest copyWith({
  1. String? customerKey,
  2. CheckType? checkType,
  3. String? description,
  4. String? payForm,
  5. String? ip,
  6. String? signToken,
})
override

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

Implementation

@override
AddCardRequest copyWith({
  String? customerKey,
  CheckType? checkType,
  String? description,
  String? payForm,
  String? ip,
  String? signToken,
}) {
  return AddCardRequest(
    customerKey: customerKey ?? this.customerKey,
    checkType: checkType ?? this.checkType,
    description: description ?? this.description,
    payForm: payForm ?? this.payForm,
    ip: ip ?? this.ip,
    signToken: signToken ?? this.signToken,
  );
}