map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult loading(
    1. ProductVariantLoadingState value
    ),
  2. required TResult empty(
    1. ProductVariantEmptyState value
    ),
  3. required TResult fetched(
    1. ProductVariantFetchedState value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(ProductVariantLoadingState value) loading,
  required TResult Function(ProductVariantEmptyState value) empty,
  required TResult Function(ProductVariantFetchedState value) fetched,
}) =>
    throw _privateConstructorUsedError;