maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult facetMention(
    1. UFacetFeatureFacetMention value
    )?,
  2. TResult facetLink(
    1. UFacetFeatureFacetLink value
    )?,
  3. TResult facetTag(
    1. UFacetFeatureFacetTag value
    )?,
  4. TResult unknown(
    1. UFacetFeatureUnknown value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(UFacetFeatureFacetMention value)? facetMention,
  TResult Function(UFacetFeatureFacetLink value)? facetLink,
  TResult Function(UFacetFeatureFacetTag value)? facetTag,
  TResult Function(UFacetFeatureUnknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;