copyWith method

PlanPrice copyWith({
  1. String? createdAt,
  2. String? currency,
  3. String? id,
  4. String? planId,
  5. String? updatedAt,
  6. int? valueCents,
})

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