mapOrNull<TResult extends Object?> method

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

Implementation

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