copyWithWrapped method

OktaEventV3 copyWithWrapped({
  1. Wrapped<String?>? uuid,
  2. Wrapped<DateTime?>? published,
  3. Wrapped<String?>? eventType,
  4. Wrapped<String?>? version,
  5. Wrapped<String?>? displayMessage,
  6. Wrapped<String?>? severity,
  7. Wrapped<OktaEventActorV3?>? actor,
  8. Wrapped<List<OktaEventTargetV3>?>? target,
})

Implementation

OktaEventV3 copyWithWrapped(
    {Wrapped<String?>? uuid,
    Wrapped<DateTime?>? published,
    Wrapped<String?>? eventType,
    Wrapped<String?>? version,
    Wrapped<String?>? displayMessage,
    Wrapped<String?>? severity,
    Wrapped<OktaEventActorV3?>? actor,
    Wrapped<List<OktaEventTargetV3>?>? target}) {
  return OktaEventV3(
      uuid: (uuid != null ? uuid.value : this.uuid),
      published: (published != null ? published.value : this.published),
      eventType: (eventType != null ? eventType.value : this.eventType),
      version: (version != null ? version.value : this.version),
      displayMessage: (displayMessage != null
          ? displayMessage.value
          : this.displayMessage),
      severity: (severity != null ? severity.value : this.severity),
      actor: (actor != null ? actor.value : this.actor),
      target: (target != null ? target.value : this.target));
}