copyWith method

InquiryHistory copyWith({
  1. String? id,
  2. String? inquiryId,
  3. String? type,
  4. String? projectTitle,
  5. String? pageName,
  6. String? userId,
  7. String? salesName,
  8. String? clientFirstName,
  9. String? clientLastName,
  10. String? emailAddress,
  11. String? leadSource,
  12. String? leadSubSource,
  13. String? ivrsCallPath,
  14. String? masterUserIdIvrsCall,
  15. String? ivrsName,
  16. String? dateTime,
  17. String? dateFormat,
  18. bool isSelected = false,
})

Implementation

InquiryHistory copyWith({  String? id,
  String? inquiryId,
  String? type,
  String? projectTitle,
  String? pageName,
  String? userId,
  String? salesName,
  String? clientFirstName,
  String? clientLastName,
  String? emailAddress,
  String? leadSource,
  String? leadSubSource,
  String? ivrsCallPath,
  String? masterUserIdIvrsCall,
  String? ivrsName,
  String? dateTime,
  String? dateFormat,
  bool isSelected = false,
}) => InquiryHistory(  id: id ?? _id,
  inquiryId: inquiryId ?? _inquiryId,
  type: type ?? _type,
  projectTitle: projectTitle ?? _projectTitle,
  pageName: pageName ?? _pageName,
  userId: userId ?? _userId,
  salesName: salesName ?? _salesName,
  clientFirstName: clientFirstName ?? _clientFirstName,
  clientLastName: clientLastName ?? _clientLastName,
  emailAddress: emailAddress ?? _emailAddress,
  leadSource: leadSource ?? _leadSource,
  leadSubSource: leadSubSource ?? _leadSubSource,
  ivrsCallPath: ivrsCallPath ?? _ivrsCallPath,
  masterUserIdIvrsCall: masterUserIdIvrsCall ?? _masterUserIdIvrsCall,
  ivrsName: ivrsName ?? _ivrsName,
  dateTime: dateTime ?? _dateTime,
  dateFormat: dateFormat ?? _dateFormat,
  isSelected: isSelected ?? _isSelected,
);