copyWithWrapped method

PersonalInfoResponse copyWithWrapped({
  1. Wrapped<String>? id,
  2. Wrapped? age,
  3. Wrapped? weight,
  4. Wrapped? height,
  5. Wrapped? biologicalSex,
  6. Wrapped? email,
})

Implementation

PersonalInfoResponse copyWithWrapped(
    {Wrapped<String>? id,
    Wrapped<dynamic>? age,
    Wrapped<dynamic>? weight,
    Wrapped<dynamic>? height,
    Wrapped<dynamic>? biologicalSex,
    Wrapped<dynamic>? email}) {
  return PersonalInfoResponse(
      id: (id != null ? id.value : this.id),
      age: (age != null ? age.value : this.age),
      weight: (weight != null ? weight.value : this.weight),
      height: (height != null ? height.value : this.height),
      biologicalSex:
          (biologicalSex != null ? biologicalSex.value : this.biologicalSex),
      email: (email != null ? email.value : this.email));
}