copyWith method

WebApiModulesAgentOrderNoteOrderNote copyWith({
  1. String? orderNoteId,
  2. String? orderId,
  3. String? noteDate,
  4. String? userId,
  5. String? notesDescription,
  6. bool? billing,
  7. bool? printOnOrder,
  8. bool? copyToInvoice,
  9. bool? scheduleNote,
  10. String? scheduleNoteDate,
  11. bool? pickList,
  12. String? userName,
  13. String? notes,
  14. String? dateStamp,
  15. String? auditNote,
  16. String? recordTitle,
  17. dynamic urlIdentifier,
  18. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  19. List<FwStandardDataFwCustomValue>? custom,
  20. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  21. FwStandardBusinessLogicFwBusinessLogic? original,
  22. List<FwStandardDataFwTranslatedValue>? translation,
  23. bool? hasImport,
  24. bool? hasDocuments,
  25. String? createdByUserId,
  26. String? createdByUserName,
  27. String? createdDateTime,
  28. String? modifiedByUserId,
  29. String? modifiedByUserName,
  30. String? modifiedDateTime,
})

Implementation

WebApiModulesAgentOrderNoteOrderNote copyWith({
  String? orderNoteId,
  String? orderId,
  String? noteDate,
  String? userId,
  String? notesDescription,
  bool? billing,
  bool? printOnOrder,
  bool? copyToInvoice,
  bool? scheduleNote,
  String? scheduleNoteDate,
  bool? pickList,
  String? userName,
  String? notes,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesAgentOrderNoteOrderNote(
    orderNoteId: orderNoteId ?? this.orderNoteId,
    orderId: orderId ?? this.orderId,
    noteDate: noteDate ?? this.noteDate,
    userId: userId ?? this.userId,
    notesDescription: notesDescription ?? this.notesDescription,
    billing: billing ?? this.billing,
    printOnOrder: printOnOrder ?? this.printOnOrder,
    copyToInvoice: copyToInvoice ?? this.copyToInvoice,
    scheduleNote: scheduleNote ?? this.scheduleNote,
    scheduleNoteDate: scheduleNoteDate ?? this.scheduleNoteDate,
    pickList: pickList ?? this.pickList,
    userName: userName ?? this.userName,
    notes: notes ?? this.notes,
    dateStamp: dateStamp ?? this.dateStamp,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}