copyWith method

InquiryHistoryData copyWith({
  1. String? id,
  2. String? inquiryId,
  3. String? type,
  4. String? projectId,
  5. String? projectTitle,
  6. String? userId,
  7. String? dateFormat,
  8. String? salesName,
  9. String? clientFirstName,
  10. String? clientLastName,
  11. String? clientContactNo,
  12. String? emailAddress,
  13. String? leadSource,
  14. String? leadSubSource,
  15. String? ivrsCallPath,
  16. String? masterUserIdIvrsCall,
  17. String? ivrsName,
  18. num? createdAtToday,
  19. String? createdAt,
  20. String? createdTime,
})

Implementation

InquiryHistoryData copyWith({  String? id,
  String? inquiryId,
  String? type,
  String? projectId,
  String? projectTitle,
  String? userId,
  String? dateFormat,
  String? salesName,
  String? clientFirstName,
  String? clientLastName,
  String? clientContactNo,
  String? emailAddress,
  String? leadSource,
  String? leadSubSource,
  String? ivrsCallPath,
  String? masterUserIdIvrsCall,
  String? ivrsName,
  num? createdAtToday,
  String? createdAt,
  String? createdTime,
}) => InquiryHistoryData(  id: id ?? _id,
  inquiryId: inquiryId ?? _inquiryId,
  type: type ?? _type,
  projectId: projectId ?? _projectId,
  projectTitle: projectTitle ?? _projectTitle,
  userId: userId ?? _userId,
  dateFormat: dateFormat ?? _dateFormat,
  salesName: salesName ?? _salesName,
  clientFirstName: clientFirstName ?? _clientFirstName,
  clientLastName: clientLastName ?? _clientLastName,
  clientContactNo: clientContactNo ?? _clientContactNo,
  emailAddress: emailAddress ?? _emailAddress,
  leadSource: leadSource ?? _leadSource,
  leadSubSource: leadSubSource ?? _leadSubSource,
  ivrsCallPath: ivrsCallPath ?? _ivrsCallPath,
  masterUserIdIvrsCall: masterUserIdIvrsCall ?? _masterUserIdIvrsCall,
  ivrsName: ivrsName ?? _ivrsName,
  createdAtToday: createdAtToday ?? _createdAtToday,
  createdAt: createdAt ?? _createdAt,
  createdTime: createdTime ?? _createdTime,
);