copyWith method
WebApiModulesSettingsPoSettingsVendorInvoiceApproverVendorInvoiceApprover
copyWith({
- String? vendorInvoiceApproverId,
- String? locationId,
- String? location,
- String? departmentId,
- String? department,
- String? usersId,
- String? username,
- bool? rental,
- bool? sales,
- bool? parts,
- bool? misc,
- bool? labor,
- bool? vehicle,
- bool? subRent,
- bool? subSale,
- bool? repair,
- bool? subMisc,
- bool? subLabor,
- bool? subVehicle,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsPoSettingsVendorInvoiceApproverVendorInvoiceApprover
copyWith(
{String? vendorInvoiceApproverId,
String? locationId,
String? location,
String? departmentId,
String? department,
String? usersId,
String? username,
bool? rental,
bool? sales,
bool? parts,
bool? misc,
bool? labor,
bool? vehicle,
bool? subRent,
bool? subSale,
bool? repair,
bool? subMisc,
bool? subLabor,
bool? subVehicle,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsPoSettingsVendorInvoiceApproverVendorInvoiceApprover(
vendorInvoiceApproverId:
vendorInvoiceApproverId ?? this.vendorInvoiceApproverId,
locationId: locationId ?? this.locationId,
location: location ?? this.location,
departmentId: departmentId ?? this.departmentId,
department: department ?? this.department,
usersId: usersId ?? this.usersId,
username: username ?? this.username,
rental: rental ?? this.rental,
sales: sales ?? this.sales,
parts: parts ?? this.parts,
misc: misc ?? this.misc,
labor: labor ?? this.labor,
vehicle: vehicle ?? this.vehicle,
subRent: subRent ?? this.subRent,
subSale: subSale ?? this.subSale,
repair: repair ?? this.repair,
subMisc: subMisc ?? this.subMisc,
subLabor: subLabor ?? this.subLabor,
subVehicle: subVehicle ?? this.subVehicle,
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);
}