copyWith method
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,
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,
);