copyWithWrapped method

DepositSwitchCreateRequestOptions copyWithWrapped({
  1. Wrapped<String?>? webhook,
  2. Wrapped<List<String>?>? transactionItemAccessTokens,
})

Implementation

DepositSwitchCreateRequestOptions copyWithWrapped(
    {Wrapped<String?>? webhook,
    Wrapped<List<String>?>? transactionItemAccessTokens}) {
  return DepositSwitchCreateRequestOptions(
      webhook: (webhook != null ? webhook.value : this.webhook),
      transactionItemAccessTokens: (transactionItemAccessTokens != null
          ? transactionItemAccessTokens.value
          : this.transactionItemAccessTokens));
}