whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? loading()?,
- TResult? empty()?,
- TResult? stock(
- Map<
String, List< stockDataStockModel> >
- Map<
- TResult? stockReconciliation(
- Map<
String, List< dataStockReconciliationModel> >
- Map<
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;