copyWith method
Implementation
PointOfSalesInfoResponse copyWith({
String? name,
String? id,
String? website,
String? address,
PointOfSalesType? type,
String? alias,
String? phone,
String? mail,
}) {
return PointOfSalesInfoResponse(
name: name ?? this.name,
mail: mail ?? this.mail,
address: address ?? this.address,
type: type ?? this.type,
website: website ?? this.website,
id: id ?? this.id,
phone: phone ?? this.phone,
alias: alias ?? this.alias,
);
}