copyWith method

WebApiModulesSettingsDepartmentLocationDepartmentLocation copyWith({
  1. String? departmentId,
  2. String? locationId,
  3. String? department,
  4. String? location,
  5. String? defaultOrderTypeId,
  6. String? defaultOrderType,
  7. bool? inactive,
  8. String? auditNote,
  9. String? recordTitle,
  10. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  11. List<FwStandardDataFwCustomValue>? custom,
  12. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

Implementation

WebApiModulesSettingsDepartmentLocationDepartmentLocation copyWith(
    {String? departmentId,
    String? locationId,
    String? department,
    String? location,
    String? defaultOrderTypeId,
    String? defaultOrderType,
    bool? inactive,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  return WebApiModulesSettingsDepartmentLocationDepartmentLocation(
      departmentId: departmentId ?? this.departmentId,
      locationId: locationId ?? this.locationId,
      department: department ?? this.department,
      location: location ?? this.location,
      defaultOrderTypeId: defaultOrderTypeId ?? this.defaultOrderTypeId,
      defaultOrderType: defaultOrderType ?? this.defaultOrderType,
      inactive: inactive ?? this.inactive,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}