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. TransferFrom? transferFrom,
  10. TransferTo? transferTo,
  11. TransferFromAdmin? transferFromAdmin,
  12. TransferFromProject? transferFromProject,
  13. TransferToProject? transferToProject,
  14. String? transferTime,
  15. String? unitNo,
  16. String? lostReason,
  17. String? activity,
  18. String? task,
  19. String? remarks,
  20. String? createdAt,
  21. String? createdAtTime,
  22. String? followUpDate,
  23. String? followUpDateSort,
  24. String? followUpDateTime,
  25. String? followUpDate2,
})

Implementation

FollowUpHistory copyWith({  String? id,
  String? inquiryId,
  String? userId,
  String? projectId,
  String? projectTitle,
  String? pageName,
  AddFollowUp? addFollowUp,
  SalesData? salesData,
  TransferFrom? transferFrom,
  TransferTo? transferTo,
  TransferFromAdmin? transferFromAdmin,
  TransferFromProject? transferFromProject,
  TransferToProject? transferToProject,
  String? transferTime,
  String? unitNo,
  String? lostReason,
  String? activity,
  String? task,
  String? remarks,
  String? createdAt,
  String? createdAtTime,
  String? followUpDate,
  String? followUpDateSort,
  String? followUpDateTime,
  String? followUpDate2,
}) => 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,
  transferFrom: transferFrom ?? _transferFrom,
  transferTo: transferTo ?? _transferTo,
  transferFromAdmin: transferFromAdmin ?? _transferFromAdmin,
  transferFromProject: transferFromProject ?? _transferFromProject,
  transferToProject: transferToProject ?? _transferToProject,
  transferTime: transferTime ?? _transferTime,
  unitNo: unitNo ?? _unitNo,
  lostReason: lostReason ?? _lostReason,
  activity: activity ?? _activity,
  task: task ?? _task,
  remarks: remarks ?? _remarks,
  createdAt: createdAt ?? _createdAt,
  createdAtTime: createdAtTime ?? _createdAtTime,
  followUpDate: followUpDate ?? _followUpDate,
  followUpDateSort: followUpDateSort ?? _followUpDateSort,
  followUpDateTime: followUpDateTime ?? _followUpDateTime,
  followUpDate2: followUpDate2 ?? _followUpDate2,
);