copyWith method

WebApiModulesPluginsBoxedUpBoxedUpSignUpResponseUser copyWith({
  1. String? firstName,
  2. String? lastName,
  3. String? email,
  4. String? username,
  5. String? password,
  6. String? passwordConfirmation,
  7. WebApiModulesPluginsBoxedUpBoxedUpSignUpResponseUserErp? erpIntegration,
})

Implementation

WebApiModulesPluginsBoxedUpBoxedUpSignUpResponseUser copyWith(
    {String? firstName,
    String? lastName,
    String? email,
    String? username,
    String? password,
    String? passwordConfirmation,
    WebApiModulesPluginsBoxedUpBoxedUpSignUpResponseUserErp?
        erpIntegration}) {
  return WebApiModulesPluginsBoxedUpBoxedUpSignUpResponseUser(
      firstName: firstName ?? this.firstName,
      lastName: lastName ?? this.lastName,
      email: email ?? this.email,
      username: username ?? this.username,
      password: password ?? this.password,
      passwordConfirmation: passwordConfirmation ?? this.passwordConfirmation,
      erpIntegration: erpIntegration ?? this.erpIntegration);
}