copyWithWrapped method
TransferAuthorization
copyWithWrapped({
- Wrapped<
String> ? id, - Wrapped<
DateTime> ? created, - Wrapped<
TransferAuthorizationDecision> ? decision, - Wrapped<
TransferAuthorizationDecisionRationale?> ? decisionRationale, - Wrapped<
TransferAuthorizationGuaranteeDecision?> ? guaranteeDecision, - Wrapped<
TransferAuthorizationGuaranteeDecisionRationale?> ? guaranteeDecisionRationale, - Wrapped<
TransferAuthorizationProposedTransfer> ? proposedTransfer,
Implementation
TransferAuthorization copyWithWrapped(
{Wrapped<String>? id,
Wrapped<DateTime>? created,
Wrapped<enums.TransferAuthorizationDecision>? decision,
Wrapped<TransferAuthorizationDecisionRationale?>? decisionRationale,
Wrapped<enums.TransferAuthorizationGuaranteeDecision?>? guaranteeDecision,
Wrapped<TransferAuthorizationGuaranteeDecisionRationale?>?
guaranteeDecisionRationale,
Wrapped<TransferAuthorizationProposedTransfer>? proposedTransfer}) {
return TransferAuthorization(
id: (id != null ? id.value : this.id),
created: (created != null ? created.value : this.created),
decision: (decision != null ? decision.value : this.decision),
decisionRationale: (decisionRationale != null
? decisionRationale.value
: this.decisionRationale),
guaranteeDecision: (guaranteeDecision != null
? guaranteeDecision.value
: this.guaranteeDecision),
guaranteeDecisionRationale: (guaranteeDecisionRationale != null
? guaranteeDecisionRationale.value
: this.guaranteeDecisionRationale),
proposedTransfer: (proposedTransfer != null
? proposedTransfer.value
: this.proposedTransfer));
}