whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? loading()?,
- TResult? empty()?,
- TResult? fetched(
- List<
ProductVariantModel> productVariants
- List<
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function()? loading,
TResult? Function()? empty,
TResult? Function(List<ProductVariantModel> productVariants)? fetched,
}) =>
throw _privateConstructorUsedError;