copyWith method

WebApiModulesIntegrationsStorefrontContactRegistrationRequest copyWith({
  1. String? language,
  2. String? firstName,
  3. String? lastName,
  4. String? phone,
  5. String? email,
  6. String? studentId,
})

Implementation

WebApiModulesIntegrationsStorefrontContactRegistrationRequest copyWith({
  String? language,
  String? firstName,
  String? lastName,
  String? phone,
  String? email,
  String? studentId,
}) {
  return WebApiModulesIntegrationsStorefrontContactRegistrationRequest(
    language: language ?? this.language,
    firstName: firstName ?? this.firstName,
    lastName: lastName ?? this.lastName,
    phone: phone ?? this.phone,
    email: email ?? this.email,
    studentId: studentId ?? this.studentId,
  );
}