copyWith method

WebApiModulesAgentOrderCreateLossAndDamageRequest copyWith({
  1. String? locationId,
  2. String? warehouseId,
})

Implementation

WebApiModulesAgentOrderCreateLossAndDamageRequest copyWith(
    {String? locationId, String? warehouseId}) {
  return WebApiModulesAgentOrderCreateLossAndDamageRequest(
      locationId: locationId ?? this.locationId,
      warehouseId: warehouseId ?? this.warehouseId);
}