copyWith method

FollowUpHistory copyWith({
  1. String? id,
  2. String? inquiryId,
  3. String? userId,
  4. String? projectId,
  5. String? projectTitle,
  6. String? pageName,
  7. AddFollowUp? addFollowUp,
  8. SalesData? salesData,
  9. TransferSales? transferSales,
  10. num? transferFromAdmin,
  11. TransferInquiry? transferInquiry,
  12. String? transferTime,
  13. String? unitNo,
  14. String? lostReason,
  15. String? activity,
  16. String? task,
  17. String? remarks,
  18. num? followUpAdd,
  19. String? createdAt,
  20. String? createdAtTime,
  21. String? followUpDate2,
  22. String? followUpDate,
  23. String? followUpDateSort,
  24. String? followUpDateTime,
  25. String? followUpDateNew,
})

Implementation

FollowUpHistory copyWith({  String? id,
  String? inquiryId,
  String? userId,
  String? projectId,
  String? projectTitle,
  String? pageName,
  AddFollowUp? addFollowUp,
  SalesData? salesData,
  TransferSales? transferSales,
  num? transferFromAdmin,
  TransferInquiry? transferInquiry,
  String? transferTime,
  String? unitNo,
  String? lostReason,
  String? activity,
  String? task,
  String? remarks,
  num? followUpAdd,
  String? createdAt,
  String? createdAtTime,
  String? followUpDate2,
  String? followUpDate,
  String? followUpDateSort,
  String? followUpDateTime,
  String? followUpDateNew,
}) => FollowUpHistory(  id: id ?? _id,
  inquiryId: inquiryId ?? _inquiryId,
  userId: userId ?? _userId,
  projectId: projectId ?? _projectId,
  projectTitle: projectTitle ?? _projectTitle,
  pageName: pageName ?? _pageName,
  addFollowUp: addFollowUp ?? _addFollowUp,
  salesData: salesData ?? _salesData,
  transferSales: transferSales ?? _transferSales,
  transferFromAdmin: transferFromAdmin ?? _transferFromAdmin,
  transferInquiry: transferInquiry ?? _transferInquiry,
  transferTime: transferTime ?? _transferTime,
  unitNo: unitNo ?? _unitNo,
  lostReason: lostReason ?? _lostReason,
  activity: activity ?? _activity,
  task: task ?? _task,
  remarks: remarks ?? _remarks,
  followUpAdd: followUpAdd ?? _followUpAdd,
  createdAt: createdAt ?? _createdAt,
  createdAtTime: createdAtTime ?? _createdAtTime,
  followUpDate2: followUpDate2 ?? _followUpDate2,
  followUpDate: followUpDate ?? _followUpDate,
  followUpDateSort: followUpDateSort ?? _followUpDateSort,
  followUpDateTime: followUpDateTime ?? _followUpDateTime,
  followUpDateNew: followUpDateNew ?? _followUpDateNew,
);