copyWithWrapped method

WebApiModulesAccountServicesAccountGetSettingsRequest copyWithWrapped({
  1. Wrapped<String?>? webUsersId,
  2. Wrapped<String?>? departmentId,
  3. Wrapped<String?>? locationId,
})

Implementation

WebApiModulesAccountServicesAccountGetSettingsRequest copyWithWrapped({
  Wrapped<String?>? webUsersId,
  Wrapped<String?>? departmentId,
  Wrapped<String?>? locationId,
}) {
  return WebApiModulesAccountServicesAccountGetSettingsRequest(
    webUsersId: (webUsersId != null ? webUsersId.value : this.webUsersId),
    departmentId: (departmentId != null
        ? departmentId.value
        : this.departmentId),
    locationId: (locationId != null ? locationId.value : this.locationId),
  );
}