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