copyWithWrapped method

DepositSwitchGetRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String>? depositSwitchId,
})

Implementation

DepositSwitchGetRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? depositSwitchId}) {
  return DepositSwitchGetRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      depositSwitchId: (depositSwitchId != null
          ? depositSwitchId.value
          : this.depositSwitchId));
}