copyWith method
Implementation
ChangePasswordRequest copyWith(
{String? currentPassword, String? newPassword}) {
return ChangePasswordRequest(
currentPassword: currentPassword ?? this.currentPassword,
newPassword: newPassword ?? this.newPassword);
}