StockReconciliationState constructor

StockReconciliationState({
  1. @Default(false) bool loading,
  2. @Default(false) bool persisted,
  3. required String projectId,
  4. required DateTime dateOfReconciliation,
  5. FacilityModel? facilityModel,
  6. String? productVariantId,
  7. @Default([]) List<StockModel> stockModels,
  8. StockReconciliationModel? stockReconciliationModel,
})

Implementation

factory StockReconciliationState({
  @Default(false) bool loading,
  @Default(false) bool persisted,
  required String projectId,
  required DateTime dateOfReconciliation,
  FacilityModel? facilityModel,
  String? productVariantId,
  @Default([]) List<StockModel> stockModels,
  StockReconciliationModel? stockReconciliationModel,
}) = _StockReconciliationState;