copyWith method

WebApiModulesHomeOrderApprovalOrderApproval copyWith({
  1. int? orderApprovalId,
  2. String? orderId,
  3. String? webUsersId,
  4. String? token,
  5. String? expireDate,
  6. String? createdDate,
  7. String? status,
  8. String? contactId,
  9. String? contactName,
  10. String? contactEmail,
  11. String? statusChangeDate,
  12. String? notes,
  13. String? paymentTermsId,
  14. String? paymentTypeId,
  15. double? amount,
  16. String? dateStamp,
  17. String? auditNote,
  18. String? recordTitle,
  19. dynamic urlIdentifier,
  20. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  21. List<FwStandardDataFwCustomValue>? custom,
  22. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  23. FwStandardBusinessLogicFwBusinessLogic? original,
  24. List<FwStandardDataFwTranslatedValue>? translation,
  25. bool? hasImport,
  26. bool? hasDocuments,
  27. String? createdByUserId,
  28. String? createdByUserName,
  29. String? createdDateTime,
  30. String? modifiedByUserId,
  31. String? modifiedByUserName,
  32. String? modifiedDateTime,
})

Implementation

WebApiModulesHomeOrderApprovalOrderApproval copyWith({
  int? orderApprovalId,
  String? orderId,
  String? webUsersId,
  String? token,
  String? expireDate,
  String? createdDate,
  String? status,
  String? contactId,
  String? contactName,
  String? contactEmail,
  String? statusChangeDate,
  String? notes,
  String? paymentTermsId,
  String? paymentTypeId,
  double? amount,
  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 WebApiModulesHomeOrderApprovalOrderApproval(
    orderApprovalId: orderApprovalId ?? this.orderApprovalId,
    orderId: orderId ?? this.orderId,
    webUsersId: webUsersId ?? this.webUsersId,
    token: token ?? this.token,
    expireDate: expireDate ?? this.expireDate,
    createdDate: createdDate ?? this.createdDate,
    status: status ?? this.status,
    contactId: contactId ?? this.contactId,
    contactName: contactName ?? this.contactName,
    contactEmail: contactEmail ?? this.contactEmail,
    statusChangeDate: statusChangeDate ?? this.statusChangeDate,
    notes: notes ?? this.notes,
    paymentTermsId: paymentTermsId ?? this.paymentTermsId,
    paymentTypeId: paymentTypeId ?? this.paymentTypeId,
    amount: amount ?? this.amount,
    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,
  );
}