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