copyWith method
Implementation
CustomerRequestMessage copyWith({
String? email,
String? name,
String? cpfOrCnpj,
String? withCopyEmails,
String? notes,
List<CustomVariables>? customVariables,
String? zipCode,
int? number,
String? complement,
}) {
return CustomerRequestMessage(
email: email ?? this.email,
name: name ?? this.name,
cpfOrCnpj: cpfOrCnpj ?? this.cpfOrCnpj,
withCopyEmails: withCopyEmails ?? this.withCopyEmails,
notes: notes ?? this.notes,
customVariables: customVariables ?? this.customVariables,
zipCode: zipCode ?? this.zipCode,
number: number ?? this.number,
complement: complement ?? this.complement,
);
}