copyWith method

WebApiModulesSettingsPoSettingsPoApproverPoApprover copyWith({
  1. String? poApproverId,
  2. String? locationId,
  3. String? location,
  4. String? departmentId,
  5. String? department,
  6. String? projectId,
  7. String? usersId,
  8. String? userName,
  9. String? appRoleId,
  10. String? appRole,
  11. String? poApproverType,
  12. bool? isBackup,
  13. bool? hasLimit,
  14. double? limitRental,
  15. double? limitSales,
  16. double? limitParts,
  17. double? limitVehicle,
  18. double? limitMisc,
  19. double? limitLabor,
  20. double? limitSubRent,
  21. double? limitSubSale,
  22. double? limitSubMisc,
  23. double? limitSubLabor,
  24. double? limitSubVehicle,
  25. double? limitRepair,
  26. String? dateStamp,
  27. String? auditNote,
  28. String? recordTitle,
  29. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  30. List<FwStandardDataFwCustomValue>? custom,
  31. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  32. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsPoSettingsPoApproverPoApprover copyWith(
    {String? poApproverId,
    String? locationId,
    String? location,
    String? departmentId,
    String? department,
    String? projectId,
    String? usersId,
    String? userName,
    String? appRoleId,
    String? appRole,
    String? poApproverType,
    bool? isBackup,
    bool? hasLimit,
    double? limitRental,
    double? limitSales,
    double? limitParts,
    double? limitVehicle,
    double? limitMisc,
    double? limitLabor,
    double? limitSubRent,
    double? limitSubSale,
    double? limitSubMisc,
    double? limitSubLabor,
    double? limitSubVehicle,
    double? limitRepair,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsPoSettingsPoApproverPoApprover(
      poApproverId: poApproverId ?? this.poApproverId,
      locationId: locationId ?? this.locationId,
      location: location ?? this.location,
      departmentId: departmentId ?? this.departmentId,
      department: department ?? this.department,
      projectId: projectId ?? this.projectId,
      usersId: usersId ?? this.usersId,
      userName: userName ?? this.userName,
      appRoleId: appRoleId ?? this.appRoleId,
      appRole: appRole ?? this.appRole,
      poApproverType: poApproverType ?? this.poApproverType,
      isBackup: isBackup ?? this.isBackup,
      hasLimit: hasLimit ?? this.hasLimit,
      limitRental: limitRental ?? this.limitRental,
      limitSales: limitSales ?? this.limitSales,
      limitParts: limitParts ?? this.limitParts,
      limitVehicle: limitVehicle ?? this.limitVehicle,
      limitMisc: limitMisc ?? this.limitMisc,
      limitLabor: limitLabor ?? this.limitLabor,
      limitSubRent: limitSubRent ?? this.limitSubRent,
      limitSubSale: limitSubSale ?? this.limitSubSale,
      limitSubMisc: limitSubMisc ?? this.limitSubMisc,
      limitSubLabor: limitSubLabor ?? this.limitSubLabor,
      limitSubVehicle: limitSubVehicle ?? this.limitSubVehicle,
      limitRepair: limitRepair ?? this.limitRepair,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}