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