copyWith method
Создает экземпляр с заданными параметрами
Implementation
@override
AddCardRequest copyWith({
String? signToken,
String? customerKey,
CheckType? checkType,
String? ip,
bool? residentState,
}) {
return AddCardRequest(
signToken: signToken ?? this.signToken,
customerKey: customerKey ?? this.customerKey,
checkType: checkType ?? this.checkType,
ip: ip ?? this.ip,
residentState: residentState ?? this.residentState,
);
}