maybeMap<TResult extends Object?> method

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

Implementation

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