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