when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult facetMention(
- FacetMention data
- required TResult facetLink(
- FacetLink data
- required TResult facetTag(
- FacetTag data
- required TResult unknown(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(FacetMention data) facetMention,
required TResult Function(FacetLink data) facetLink,
required TResult Function(FacetTag data) facetTag,
required TResult Function(Map<String, dynamic> data) unknown,
}) =>
throw _privateConstructorUsedError;