copyWith method

WebApiModulesWarehouseContractSessionResponse copyWith({
  1. String? contractId,
  2. int? sessionNumber,
  3. int? status,
  4. String? message,
})

Implementation

WebApiModulesWarehouseContractSessionResponse copyWith({
  String? contractId,
  int? sessionNumber,
  int? status,
  String? message,
}) {
  return WebApiModulesWarehouseContractSessionResponse(
    contractId: contractId ?? this.contractId,
    sessionNumber: sessionNumber ?? this.sessionNumber,
    status: status ?? this.status,
    message: message ?? this.message,
  );
}