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