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