copyWith method
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,
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);
}