copyWith method

PlanListData copyWith(
  1. {num? id,
  2. String? title,
  3. String? type,
  4. String? identifier,
  5. num? trialPeriod,
  6. String? amount,
  7. num? status,
  8. num? duration,
  9. String? description,
  10. num? isTrail}
)

Implementation

PlanListData copyWith({  num? id,
  String? title,
  String? type,
  String? identifier,
  num? trialPeriod,
  String? amount,
  num? status,
  num? duration,
  String? description,
  num? isTrail,
}) => PlanListData(  id: id ?? this.id,
  title: title ?? this.title,
  type: type ?? this.type,
  identifier: identifier ?? this.identifier,
  trialPeriod: trialPeriod ?? this.trialPeriod,
  amount: amount ?? this.amount,
  status: status ?? this.status,
  duration: duration ?? this.duration,
  description: description ?? this.description,
  isTrail: isTrail ?? this.isTrail,
);