copyWith method

  1. @override
RemoveCardRequest copyWith({
  1. int? cardId,
  2. String? customerKey,
  3. String? ip,
  4. String? signToken,
})
override

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

Implementation

@override
RemoveCardRequest copyWith({
  int? cardId,
  String? customerKey,
  String? ip,
  String? signToken,
}) {
  return RemoveCardRequest(
    cardId: cardId ?? this.cardId,
    customerKey: customerKey ?? this.customerKey,
    ip: ip ?? this.ip,
    signToken: signToken ?? this.signToken,
  );
}