map<TResult extends Object?> method

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

Implementation

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