copyWithWrapped method

WebApiModulesAdministratorSystemUpdateApplyUpdateRequest copyWithWrapped({
  1. Wrapped<String?>? sessionId,
  2. Wrapped<String?>? currentVersion,
  3. Wrapped<String?>? toVersion,
})

Implementation

WebApiModulesAdministratorSystemUpdateApplyUpdateRequest copyWithWrapped(
    {Wrapped<String?>? sessionId,
    Wrapped<String?>? currentVersion,
    Wrapped<String?>? toVersion}) {
  return WebApiModulesAdministratorSystemUpdateApplyUpdateRequest(
      sessionId: (sessionId != null ? sessionId.value : this.sessionId),
      currentVersion: (currentVersion != null
          ? currentVersion.value
          : this.currentVersion),
      toVersion: (toVersion != null ? toVersion.value : this.toVersion));
}