copyWith method
Implementation
PlanEntity copyWith({
String? id,
int? importance,
String? name,
String? imagePath,
Features? features,
String? price,
String? currency,
String? typePlan,
}) =>
PlanEntity(
id: id ?? this.id,
importance: importance ?? this.importance,
name: name ?? this.name,
imagePath: imagePath ?? this.imagePath,
features: features ?? this.features,
price: price ?? this.price,
currency: currency ?? this.currency,
typePlan: typePlan ?? this.typePlan,
);