copyWithWrapped method

OktaEventHookDTO copyWithWrapped({
  1. Wrapped<String?>? id,
  2. Wrapped<String?>? name,
  3. Wrapped<String?>? status,
  4. Wrapped<String?>? verificationStatus,
})

Implementation

OktaEventHookDTO copyWithWrapped(
    {Wrapped<String?>? id,
    Wrapped<String?>? name,
    Wrapped<String?>? status,
    Wrapped<String?>? verificationStatus}) {
  return OktaEventHookDTO(
      id: (id != null ? id.value : this.id),
      name: (name != null ? name.value : this.name),
      status: (status != null ? status.value : this.status),
      verificationStatus: (verificationStatus != null
          ? verificationStatus.value
          : this.verificationStatus));
}