copyWith method

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

Implementation

WebApiModulesPluginsBoxedUpBoxedUpSignUpUser copyWith({
  String? firstName,
  String? lastName,
  String? email,
  String? username,
  String? password,
  String? passwordConfirmation,
  WebApiModulesPluginsBoxedUpBoxedUpSignUpUserErp? erpIntegration,
}) {
  return WebApiModulesPluginsBoxedUpBoxedUpSignUpUser(
    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,
  );
}