copyWith method
PersonalInfoResponse
copyWith({
- String? id,
- dynamic age,
- dynamic weight,
- dynamic height,
- dynamic biologicalSex,
- dynamic email,
Implementation
PersonalInfoResponse copyWith(
{String? id,
dynamic age,
dynamic weight,
dynamic height,
dynamic biologicalSex,
dynamic email}) {
return PersonalInfoResponse(
id: id ?? this.id,
age: age ?? this.age,
weight: weight ?? this.weight,
height: height ?? this.height,
biologicalSex: biologicalSex ?? this.biologicalSex,
email: email ?? this.email);
}