maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult facetMention(
- FacetMention data
- TResult facetLink(
- FacetLink data
- TResult facetTag(
- FacetTag data
- TResult unknown()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;