copyWith method

PointOfSalesInfoResponse copyWith({
  1. String? name,
  2. String? id,
  3. String? website,
  4. String? address,
  5. PointOfSalesType? type,
  6. String? alias,
  7. String? phone,
  8. String? mail,
})

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,
  );
}