copyWith method

WebApiModulesWarehouseCheckInSuspendedSession copyWith({
  1. String? contractId,
  2. String? date,
  3. String? time,
  4. int? sessionNumber,
  5. String? dealVendor,
  6. String? orderNumber,
  7. String? description,
  8. String? user,
  9. String? status,
})

Implementation

WebApiModulesWarehouseCheckInSuspendedSession copyWith(
    {String? contractId,
    String? date,
    String? time,
    int? sessionNumber,
    String? dealVendor,
    String? orderNumber,
    String? description,
    String? user,
    String? status}) {
  return WebApiModulesWarehouseCheckInSuspendedSession(
      contractId: contractId ?? this.contractId,
      date: date ?? this.date,
      time: time ?? this.time,
      sessionNumber: sessionNumber ?? this.sessionNumber,
      dealVendor: dealVendor ?? this.dealVendor,
      orderNumber: orderNumber ?? this.orderNumber,
      description: description ?? this.description,
      user: user ?? this.user,
      status: status ?? this.status);
}