copyWithWrapped method

WebApiModulesAdministratorUserKissFlowUser copyWithWrapped({
  1. Wrapped<String?>? userId,
  2. Wrapped<String?>? name,
  3. Wrapped<String?>? loginName,
  4. Wrapped<String?>? fullName,
  5. Wrapped<String?>? firstName,
  6. Wrapped<String?>? middleInitial,
  7. Wrapped<String?>? lastName,
  8. Wrapped<String?>? groupName,
  9. Wrapped<String?>? userTitle,
  10. Wrapped<String?>? officeLocation,
  11. Wrapped<String?>? warehouse,
  12. Wrapped<bool?>? inactive,
  13. Wrapped<String?>? email,
})

Implementation

WebApiModulesAdministratorUserKissFlowUser copyWithWrapped({
  Wrapped<String?>? userId,
  Wrapped<String?>? name,
  Wrapped<String?>? loginName,
  Wrapped<String?>? fullName,
  Wrapped<String?>? firstName,
  Wrapped<String?>? middleInitial,
  Wrapped<String?>? lastName,
  Wrapped<String?>? groupName,
  Wrapped<String?>? userTitle,
  Wrapped<String?>? officeLocation,
  Wrapped<String?>? warehouse,
  Wrapped<bool?>? inactive,
  Wrapped<String?>? email,
}) {
  return WebApiModulesAdministratorUserKissFlowUser(
    userId: (userId != null ? userId.value : this.userId),
    name: (name != null ? name.value : this.name),
    loginName: (loginName != null ? loginName.value : this.loginName),
    fullName: (fullName != null ? fullName.value : this.fullName),
    firstName: (firstName != null ? firstName.value : this.firstName),
    middleInitial: (middleInitial != null
        ? middleInitial.value
        : this.middleInitial),
    lastName: (lastName != null ? lastName.value : this.lastName),
    groupName: (groupName != null ? groupName.value : this.groupName),
    userTitle: (userTitle != null ? userTitle.value : this.userTitle),
    officeLocation: (officeLocation != null
        ? officeLocation.value
        : this.officeLocation),
    warehouse: (warehouse != null ? warehouse.value : this.warehouse),
    inactive: (inactive != null ? inactive.value : this.inactive),
    email: (email != null ? email.value : this.email),
  );
}