copyWith method

PlanFeature copyWith({
  1. String? createdAt,
  2. String? id,
  3. String? identifier,
  4. Object? important,
  5. String? name,
  6. String? planId,
  7. int? position,
  8. String? updatedAt,
  9. int? value,
})

Implementation

PlanFeature copyWith({
  String? createdAt,
  String? id,
  String? identifier,
  Object? important,
  String? name,
  String? planId,
  int? position,
  String? updatedAt,
  int? value,
}) {
  return PlanFeature(
    createdAt: createdAt ?? this.createdAt,
    id: id ?? this.id,
    identifier: identifier ?? this.identifier,
    important: important ?? this.important,
    name: name ?? this.name,
    planId: planId ?? this.planId,
    position: position ?? this.position,
    updatedAt: updatedAt ?? this.updatedAt,
    value: value ?? this.value,
  );
}