copyWith method
Implementation
PlanPrice copyWith({
String? createdAt,
String? currency,
String? id,
String? planId,
String? updatedAt,
int? valueCents,
}) {
return PlanPrice(
createdAt: createdAt ?? this.createdAt,
currency: currency ?? this.currency,
id: id ?? this.id,
planId: planId ?? this.planId,
updatedAt: updatedAt ?? this.updatedAt,
valueCents: valueCents ?? this.valueCents,
);
}