mapOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? imagesView(
- UPostViewEmbedImagesView value
- TResult? videoView(
- UPostViewEmbedVideoView value
- TResult? externalView()?,
- TResult? recordView(
- UPostViewEmbedRecordView value
- TResult? recordWithMediaView()?,
- TResult? unknown(
- UPostViewEmbedUnknown value
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(UPostViewEmbedImagesView value)? imagesView,
TResult? Function(UPostViewEmbedVideoView value)? videoView,
TResult? Function(UPostViewEmbedExternalView value)? externalView,
TResult? Function(UPostViewEmbedRecordView value)? recordView,
TResult? Function(UPostViewEmbedRecordWithMediaView value)?
recordWithMediaView,
TResult? Function(UPostViewEmbedUnknown value)? unknown,
}) =>
throw _privateConstructorUsedError;