maybeMap<TResult extends Object?> method
- @optionalTypeArgs
- TResult images(
- UPostEmbedImages value
- TResult video(
- UPostEmbedVideo value
- TResult external(
- UPostEmbedExternal value
- TResult record(
- UPostEmbedRecord value
- TResult recordWithMedia()?,
- TResult unknown(
- UPostEmbedUnknown value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(UPostEmbedImages value)? images,
TResult Function(UPostEmbedVideo value)? video,
TResult Function(UPostEmbedExternal value)? external,
TResult Function(UPostEmbedRecord value)? record,
TResult Function(UPostEmbedRecordWithMedia value)? recordWithMedia,
TResult Function(UPostEmbedUnknown value)? unknown,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;