copyWith method
Implementation
SubscriptionSubitem copyWith({
String? id,
String? description,
int? quantity,
int? priceCents,
String? price,
String? total,
bool? recurrent,
bool? destroy,
}) {
return SubscriptionSubitem(
id: id ?? this.id,
description: description ?? this.description,
quantity: quantity ?? this.quantity,
priceCents: priceCents ?? this.priceCents,
price: price ?? this.price,
total: total ?? this.total,
recurrent: recurrent ?? this.recurrent,
destroy: destroy ?? this.destroy,
);
}