when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult loading(),
- required TResult empty(),
- required TResult stock(
- Map<
String, List< stockDataStockModel> >
- Map<
- required TResult stockReconciliation(
- Map<
String, List< dataStockReconciliationModel> >
- Map<
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() loading,
required TResult Function() empty,
required TResult Function(Map<String, List<StockModel>> stockData) stock,
required TResult Function(Map<String, List<StockReconciliationModel>> data)
stockReconciliation,
}) =>
throw _privateConstructorUsedError;