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